Changed repo structure
[mdictionary] / src / mdictionary / mdictionary.pro
1 TARGET = mdictionary
2 TEMPLATE = app
3
4 include(../../mdictionary.pri)
5
6
7 SOURCES += gui/main.cpp \
8     backbone/ConfigGenerator.cpp \
9     gui/MainWindow.cpp \
10     gui/SearchBarWidget.cpp \
11     gui/WordListWidget.cpp \
12     gui/TranslationWidget.cpp \
13     backbone/backbone.cpp \
14     gui/MenuWidget.cpp \
15     gui/MenuTabWidget.cpp \
16     gui/DictManagerWidget.cpp \
17     gui/DictTypeSelectDialog.cpp \
18     backbone/History.cpp \
19     gui/HistoryListDialog.cpp \
20     gui/WordListProxyStyle.cpp \
21     backbone/Bookmarks.cpp \
22     gui/SettingsWidget.cpp \
23     gui/BookmarksWidget.cpp \
24     gui/WelcomeScreenWidget.cpp \
25     gui/AboutWidget.cpp \
26     gui/TranslationTextEdit.cpp \
27     gui/DBusAdapter.cpp \
28     gui/NotifyManager.cpp
29
30 HEADERS += gui/MainWindow.h \
31     backbone/ConfigGenerator.h \
32     gui/AboutWidget.h \
33     gui/SearchBarWidget.h \
34     gui/WordListWidget.h \
35     gui/TranslationWidget.h \
36     backbone/backbone.h \
37     ../common/translation.h \
38     ../common/settings.h \
39     ../common/CommonDictInterface.h \
40     gui/MenuWidget.h \
41     gui/MenuTabWidget.h \
42     gui/DictManagerWidget.h \
43     gui/DictTypeSelectDialog.h \
44     ../common/History.h \
45     gui/HistoryListDialog.h \
46     ../common/GUIInterface.h \
47     gui/WordListProxyStyle.h \
48     backbone/Bookmarks.h \
49     backbone/BookmarkTranslations.h \
50     gui/SettingsWidget.h \
51     gui/BookmarksWidget.h \
52     gui/WelcomeScreenWidget.h \
53     ../common/Notify.h \
54     gui/TranslationTextEdit.h \
55     ../common/AccentsNormalizer.h \
56     ../common/DictDialog.h \
57     gui/DBusAdapter.h \
58     gui/NotifyManager.h
59
60 RESOURCES += ../../data/gui.qrc
61
62 target.path = $$BIN_DIR
63 INSTALLS += target
64
65 unix { 
66         maemo5 {
67                 desktop.path = $$SHARE_DIR/applications/hildon
68                 icon64.path = $$SHARE_DIR/icons/hicolor/64x64/hildon
69         }    
70         !maemo5 {
71                 desktop.path = $$SHARE_DIR/applications
72                 icon64.path = $$SHARE_DIR/icons
73         }
74
75         desktop.files += ../../data/other/$${TARGET}.desktop
76         icon64.files += ../../data/icons/64x64/$${TARGET}.png
77
78         bookmarks.path = $$DATA_DIR
79         bookmarks.files += ../../data/icons/16x16/staron.png
80
81         service.path = $$SHARE_DIR/dbus-1/services
82         service.files += ../../data/other/com.comarch.mdictionary.service
83         
84         INSTALLS += desktop icon64 bookmarks service
85 }