Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary] / trunk / src / base / base.pro
index b929c80..79f0288 100644 (file)
@@ -5,8 +5,9 @@ QT += core \
     gui \
     sql \
     xml \
-    xmlpatterns
-
+    xmlpatterns \
+    webkit \
+    dbus
 maemo5:QT += maemo5
 TARGET = mdictionary
 TEMPLATE = app
@@ -32,7 +33,9 @@ SOURCES += gui/main.cpp \
     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 \
@@ -47,7 +50,6 @@ HEADERS += gui/MainWindow.h \
     gui/MenuTabWidget.h \
     gui/DictManagerWidget.h \
     gui/DictTypeSelectDialog.h \
-    gui/TranslationWidgetAutoResizer.h \
     ../includes/History.h \
     gui/HistoryListDialog.h \
     ../includes/GUIInterface.h \
@@ -61,21 +63,27 @@ HEADERS += gui/MainWindow.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
@@ -87,5 +95,9 @@ unix {
     }
     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