gui \
sql \
xml \
- xmlpatterns
-
+ xmlpatterns \
+ webkit \
+ dbus
maemo5:QT += maemo5
TARGET = mdictionary
TEMPLATE = app
gui/BookmarksWidget.cpp \
gui/WelcomeScreenWidget.cpp \
gui/AboutWidget.cpp \
- gui/TranslationTextEdit.cpp
+ gui/TranslationTextEdit.cpp \
+ gui/DBusAdapter.cpp \
+ gui/NotifyManager.cpp
HEADERS += gui/MainWindow.h \
backbone/ConfigGenerator.h \
gui/AboutWidget.h \
gui/MenuTabWidget.h \
gui/DictManagerWidget.h \
gui/DictTypeSelectDialog.h \
- gui/TranslationWidgetAutoResizer.h \
../includes/History.h \
gui/HistoryListDialog.h \
../includes/GUIInterface.h \
gui/TranslationTextEdit.h \
../includes/AccentsNormalizer.h \
../includes/DictDialog.h
-RESOURCES += \
- translations.qrc \
- ../../../data/gui.qrc
+ ../includes/DictDialog.h \
+ gui/DBusAdapter.h \
+ gui/NotifyManager.h
+
+RESOURCES += ../../../data/gui.qrc
unix {
# VARIABLES
isEmpty(PREFIX):PREFIX = /usr
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
+ LIBDIR = $$PREFIX/lib/mdictionary
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
- PKGDATADIR=\\\"$$PKGDATADIR\\\"
+ PKGDATADIR=\\\"$$PKGDATADIR\\\" \
+ LIBDIR=\\\"$$LIBDIR\\\"
# MAKE INSTALL
INSTALLS += target \
desktop \
- icon64
+ icon64 \
+ bookmarks \
+ service
target.path = $$BINDIR
maemo5 {
desktop.path = $$DATADIR/applications/hildon
}
desktop.files += ../../../data/other/$${TARGET}.desktop
icon64.files += ../../../data/icons/64x64/$${TARGET}.png
+ bookmarks.path = $$LIBDIR
+ bookmarks.files += ../../../data/icons/16x16/staron.png
+ service.path = $$DATADIR/dbus-1/services
+ service.files += ../../../data/other/com.comarch.mdictionary.service
}
RESOURCES += xslt2.qrc