#
#-------------------------------------------------
-QT += core gui
+QT += core gui sql
maemo5 {
QT += maemo5
gui/DictManagerWidget.cpp \
gui/DictTypeSelectDialog.cpp \
backbone/History.cpp \
- gui/HistoryListDialog.cpp
+ gui/HistoryListDialog.cpp \
+ gui/WordListProxyStyle.cpp \
+ backbone/Bookmarks.cpp \
+ gui/SettingsWidget.cpp
HEADERS += gui/MainWindow.h \
gui/SearchBarWidget.h \
gui/DictTypeSelectDialog.h \
gui/TranslationWidgetAutoResizer.h \
../includes/History.h \
- gui/HistoryListDialog.h
+ gui/HistoryListDialog.h \
+ ../includes/GUIInterface.h \
+ gui/WordListProxyStyle.h \
+ backbone/Bookmarks.h \
+ backbone/BookmarkTranslations.h \
+ gui/SettingsWidget.h
FORMS += gui/MainWindow.ui
#MAKE INSTALL
- INSTALLS += target desktop icon64
+ INSTALLS += target desktop icon64 configs
+
+ configs.path = ~/.mdictionary
+ configs.files += ../../../data/mdictionary.defaults
target.path =$$BINDIR
+maemo5 {
desktop.path = $$DATADIR/applications/hildon
- desktop.files += ../../../data/other/$${TARGET}.desktop
-
icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
+}
+
+!maemo5 {
+ desktop.path = $$DATADIR/applications
+ icon64.path = $$DATADIR/icons
+}
+ desktop.files += ../../../data/other/$${TARGET}.desktop
icon64.files += ../../../data/icons/64x64/$${TARGET}.png
}
+
+RESOURCES += \
+ gui/gui.qrc