Added settings widget
[mdictionary] / trunk / src / base / base.pro
index 2c6a578..4c6b86e 100644 (file)
@@ -4,7 +4,7 @@
 #
 #-------------------------------------------------
 
-QT       += core gui
+QT       += core gui sql
 
 maemo5 {
     QT += maemo5
@@ -30,7 +30,12 @@ SOURCES += gui/main.cpp\
     gui/MenuWidget.cpp \
     gui/MenuTabWidget.cpp \
     gui/DictManagerWidget.cpp \
-    gui/DictTypeSelectDialog.cpp
+    gui/DictTypeSelectDialog.cpp \
+    backbone/History.cpp \
+    gui/HistoryListDialog.cpp \
+    gui/WordListProxyStyle.cpp \
+    backbone/Bookmarks.cpp \
+    gui/SettingsWidget.cpp
 
 HEADERS  += gui/MainWindow.h \
     gui/SearchBarWidget.h \
@@ -44,7 +49,14 @@ HEADERS  += gui/MainWindow.h \
     gui/MenuTabWidget.h \
     gui/DictManagerWidget.h \
     gui/DictTypeSelectDialog.h \
-    gui/TranslationWidgetAutoResizer.h
+    gui/TranslationWidgetAutoResizer.h \
+    ../includes/History.h \
+    gui/HistoryListDialog.h \
+    ../includes/GUIInterface.h \
+    gui/WordListProxyStyle.h \
+    backbone/Bookmarks.h \
+    backbone/BookmarkTranslations.h \
+    gui/SettingsWidget.h
 
 FORMS    += gui/MainWindow.ui
 
@@ -60,13 +72,25 @@ unix {
 
   #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