Modified css
[mdictionary] / src / mdictionary / mdictionary.pro
1 TARGET = mdictionary
2 TEMPLATE = app
3
4 include(../../mdictionary.pri)
5
6 QT = core \
7     gui \
8     xml \
9     xmlpatterns \
10     sql \
11     dbus \
12     webkit
13
14 maemo5:QT += maemo5
15
16 SOURCES += gui/main.cpp \
17     backbone/ConfigGenerator.cpp \
18     gui/MainWindow.cpp \
19     gui/SearchBarWidget.cpp \
20     gui/WordListWidget.cpp \
21     gui/TranslationWidget.cpp \
22     backbone/backbone.cpp \
23     gui/MenuWidget.cpp \
24     gui/MenuTabWidget.cpp \
25     gui/DictManagerWidget.cpp \
26     gui/DictTypeSelectDialog.cpp \
27     backbone/History.cpp \
28     gui/HistoryListDialog.cpp \
29     gui/WordListProxyStyle.cpp \
30     backbone/Bookmarks.cpp \
31     gui/SettingsWidget.cpp \
32     gui/BookmarksWidget.cpp \
33     gui/WelcomeScreenWidget.cpp \
34     gui/AboutWidget.cpp \
35     gui/TranslationTextEdit.cpp \
36     gui/DBusAdapter.cpp \
37     gui/NotifyManager.cpp \
38     gui/SpinBox.cpp
39
40 HEADERS += gui/MainWindow.h \
41     backbone/ConfigGenerator.h \
42     gui/AboutWidget.h \
43     gui/SearchBarWidget.h \
44     gui/WordListWidget.h \
45     gui/TranslationWidget.h \
46     backbone/backbone.h \
47     ../include/translation.h \
48     ../include/settings.h \
49     ../include/CommonDictInterface.h \
50     gui/MenuWidget.h \
51     gui/MenuTabWidget.h \
52     gui/DictManagerWidget.h \
53     gui/DictTypeSelectDialog.h \
54     ../include/History.h \
55     gui/HistoryListDialog.h \
56     ../include/GUIInterface.h \
57     gui/WordListProxyStyle.h \
58     backbone/Bookmarks.h \
59     backbone/BookmarkTranslations.h \
60     gui/SettingsWidget.h \
61     gui/BookmarksWidget.h \
62     gui/WelcomeScreenWidget.h \
63     ../include/Notify.h \
64     gui/TranslationTextEdit.h \
65     ../include/AccentsNormalizer.h \
66     ../include/DictDialog.h \
67     gui/DBusAdapter.h \
68     gui/NotifyManager.h \
69     gui/SpinBox.h
70
71 RESOURCES += ../../data/gui.qrc
72
73 TRANSLATIONS += pl_PL.ts \
74                 en_US.ts
75
76 target.path = $$BIN_DIR
77 INSTALLS += target
78
79 unix { 
80         maemo5 {
81                 desktop.path = $$SHARE_DIR/applications/hildon
82                 icon64.path = $$SHARE_DIR/icons/hicolor/64x64/hildon
83         }    
84         !maemo5 {
85                 desktop.path = $$SHARE_DIR/applications
86                 icon64.path = $$SHARE_DIR/icons
87         }
88
89         desktop.files += ../../data/other/$${TARGET}.desktop
90         icon64.files += ../../data/icons/64x64/$${TARGET}.png
91
92     shared.path = $$DATA_DIR
93     shared.files += ../../data/icons/16x16/staron.png
94     shared.files += ../../data/xsl/mask.png
95
96     css.path = $$DATA_DIR/css
97     css.files += ../../data/css/style.css
98
99     css_images.path = $$DATA_DIR/css/images
100     css_images.files += ../../data/css/images/header-background.png
101     css_images.files += ../../data/css/images/header-border.png
102     css_images.files += ../../data/css/images/shadow-grey-bg.png
103     css_images.files += ../../data/css/images/shadow-white-bg.png
104     css_images.files += ../../data/css/images/tab-background.png
105     css_images.files += ../../data/css/images/key-background.png
106
107         service.path = $$SHARE_DIR/dbus-1/services
108         service.files += ../../data/other/com.comarch.mdictionary.service
109         
110     INSTALLS += desktop icon64 shared service css css_images
111 }
112
113
114 check.commands = echo 'No check here'
115 QMAKE_EXTRA_TARGETS += check