Deleting notifies after user close it
[mdictionary] / trunk / src / base / base.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-08-03T08:54:27
3 # -------------------------------------------------
4 QT += core \
5     gui \
6     sql \
7     xml \
8     xmlpatterns \
9     webkit \
10     dbus
11 maemo5:QT += maemo5
12 TARGET = mdictionary
13 TEMPLATE = app
14 MDICT_BINDIR = $$[MDICT_BINDIR]
15 isEmpty(MDICT_BINDIR):MDICT_BINDIR = .
16 DESTDIR = $${MDICT_BINDIR}
17 SOURCES += gui/main.cpp \
18     backbone/ConfigGenerator.cpp \
19     gui/MainWindow.cpp \
20     gui/SearchBarWidget.cpp \
21     gui/WordListWidget.cpp \
22     gui/TranslationWidget.cpp \
23     backbone/backbone.cpp \
24     gui/MenuWidget.cpp \
25     gui/MenuTabWidget.cpp \
26     gui/DictManagerWidget.cpp \
27     gui/DictTypeSelectDialog.cpp \
28     backbone/History.cpp \
29     gui/HistoryListDialog.cpp \
30     gui/WordListProxyStyle.cpp \
31     backbone/Bookmarks.cpp \
32     gui/SettingsWidget.cpp \
33     gui/BookmarksWidget.cpp \
34     gui/WelcomeScreenWidget.cpp \
35     gui/AboutWidget.cpp \
36     gui/TranslationTextEdit.cpp \
37     gui/DBusAdapter.cpp \
38     gui/NotifyManager.cpp
39 HEADERS += gui/MainWindow.h \
40     backbone/ConfigGenerator.h \
41     gui/AboutWidget.h \
42     gui/SearchBarWidget.h \
43     gui/WordListWidget.h \
44     gui/TranslationWidget.h \
45     backbone/backbone.h \
46     ../includes/translation.h \
47     ../includes/settings.h \
48     ../includes/CommonDictInterface.h \
49     gui/MenuWidget.h \
50     gui/MenuTabWidget.h \
51     gui/DictManagerWidget.h \
52     gui/DictTypeSelectDialog.h \
53     ../includes/History.h \
54     gui/HistoryListDialog.h \
55     ../includes/GUIInterface.h \
56     gui/WordListProxyStyle.h \
57     backbone/Bookmarks.h \
58     backbone/BookmarkTranslations.h \
59     gui/SettingsWidget.h \
60     gui/BookmarksWidget.h \
61     gui/WelcomeScreenWidget.h \
62     ../includes/Notify.h \
63     gui/TranslationTextEdit.h \
64     ../includes/AccentsNormalizer.h \
65     ../includes/DictDialog.h \
66     gui/DBusAdapter.h \
67     gui/NotifyManager.h
68
69 RESOURCES += ../../../data/gui.qrc
70 unix { 
71     # VARIABLES
72     isEmpty(PREFIX):PREFIX = /usr
73     BINDIR = $$PREFIX/bin
74     DATADIR = $$PREFIX/share
75     LIBDIR = $$PREFIX/lib/mdictionary
76     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
77         PKGDATADIR=\\\"$$PKGDATADIR\\\" \
78         LIBDIR=\\\"$$LIBDIR\\\"
79     
80     # MAKE INSTALL
81     INSTALLS += target \
82         desktop \
83         icon64 \
84         bookmarks \
85         service
86     target.path = $$BINDIR
87     maemo5 { 
88         desktop.path = $$DATADIR/applications/hildon
89         icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
90     }
91     !maemo5 { 
92         desktop.path = $$DATADIR/applications
93         icon64.path = $$DATADIR/icons
94     }
95     desktop.files += ../../../data/other/$${TARGET}.desktop
96     icon64.files += ../../../data/icons/64x64/$${TARGET}.png
97     bookmarks.path = $$LIBDIR
98     bookmarks.files += ../../../data/icons/16x16/staron.png
99     service.path = $$DATADIR/dbus-1/services
100     service.files += ../../../data/other/com.comarch.mdictionary.service
101 }
102 RESOURCES += xslt2.qrc