removeAccents refactorized out to the AccentsNormalizer class
[mdictionary] / trunk / src / base / base.pro
index 590366f..3e638ea 100644 (file)
@@ -3,7 +3,9 @@
 # -------------------------------------------------
 QT += core \
     gui \
-    sql
+    sql \
+    xml \
+    xmlpatterns
 maemo5:QT += maemo5
 TARGET = mdictionary
 TEMPLATE = app
@@ -26,10 +28,10 @@ SOURCES += gui/main.cpp \
     backbone/Bookmarks.cpp \
     gui/SettingsWidget.cpp \
     gui/BookmarksWidget.cpp \
-    gui/WelcomeScreenWidget.cpp \ 
-    gui/AboutWidget.cpp
-
-HEADERS  += gui/MainWindow.h \
+    gui/WelcomeScreenWidget.cpp \
+    gui/AboutWidget.cpp \
+    gui/TranslationTextEdit.cpp
+HEADERS += gui/MainWindow.h \
     gui/AboutWidget.h \
     gui/SearchBarWidget.h \
     gui/WordListWidget.h \
@@ -51,41 +53,13 @@ HEADERS  += gui/MainWindow.h \
     backbone/BookmarkTranslations.h \
     gui/SettingsWidget.h \
     gui/BookmarksWidget.h \
-    gui/WelcomeScreenWidget.h
-
-FORMS    += gui/MainWindow.ui
-RESOURCES += gui/gui.qrc
-
-unix {
-  #VARIABLES
-  isEmpty(PREFIX) {
-    PREFIX = /usr
-  }
-  BINDIR = $$PREFIX/bin
-  DATADIR =$$PREFIX/share
-
-  DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
-
-  #MAKE INSTALL
-
-  INSTALLS += target desktop icon64 configs
-
-  configs.path = ~/.mdictionary
-  configs.files += ../../../data/mdictionary.defaults
-
-  target.path =$$BINDIR
-
-maemo5 {
-  desktop.path = $$DATADIR/applications/hildon
-  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
+    gui/WelcomeScreenWidget.h \
+    ../includes/Notify.h \
+    gui/TranslationTextEdit.h \
+    ../includes/AccentsNormalizer.h \
+    ../includes/DictDialog.h
+FORMS += 
+RESOURCES += ../../../data/icons/gui.qrc
 unix { 
     # VARIABLES
     isEmpty(PREFIX):PREFIX = /usr
@@ -113,3 +87,4 @@ unix {
     desktop.files += ../../../data/other/$${TARGET}.desktop
     icon64.files += ../../../data/icons/64x64/$${TARGET}.png
 }
+RESOURCES += xslt2.qrc