some changes in translations
[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     ../include/translation.h \
38     ../include/settings.h \
39     ../include/CommonDictInterface.h \
40     gui/MenuWidget.h \
41     gui/MenuTabWidget.h \
42     gui/DictManagerWidget.h \
43     gui/DictTypeSelectDialog.h \
44     ../include/History.h \
45     gui/HistoryListDialog.h \
46     ../include/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     ../include/Notify.h \
54     gui/TranslationTextEdit.h \
55     ../include/AccentsNormalizer.h \
56     ../include/DictDialog.h \
57     gui/DBusAdapter.h \
58     gui/NotifyManager.h
59
60 RESOURCES += ../../data/gui.qrc
61
62 TRANSLATIONS += pl_PL.ts \
63                 en_US.ts
64
65 target.path = $$BIN_DIR
66 INSTALLS += target
67
68 unix { 
69         maemo5 {
70                 desktop.path = $$SHARE_DIR/applications/hildon
71                 icon64.path = $$SHARE_DIR/icons/hicolor/64x64/hildon
72         }    
73         !maemo5 {
74                 desktop.path = $$SHARE_DIR/applications
75                 icon64.path = $$SHARE_DIR/icons
76         }
77
78         desktop.files += ../../data/other/$${TARGET}.desktop
79         icon64.files += ../../data/icons/64x64/$${TARGET}.png
80
81         bookmarks.path = $$DATA_DIR
82         bookmarks.files += ../../data/icons/16x16/staron.png
83
84         service.path = $$SHARE_DIR/dbus-1/services
85         service.files += ../../data/other/com.comarch.mdictionary.service
86         
87         INSTALLS += desktop icon64 bookmarks service
88 }
89
90
91 check.commands = echo 'No check here'
92 QMAKE_EXTRA_TARGETS += check