# -------------------------------------------------
QT += core \
gui \
- sql
+ sql \
+ xml \
+ xmlpatterns
maemo5:QT += maemo5
TARGET = mdictionary
TEMPLATE = app
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 \
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
desktop.files += ../../../data/other/$${TARGET}.desktop
icon64.files += ../../../data/icons/64x64/$${TARGET}.png
}
+RESOURCES += xslt2.qrc