QT = core \
gui \
xml \
- sql
+ sql \
+ declarative
maemo5:QT += maemo5
TranslationStarDict.cpp \
StarDictDialog.cpp \
StarDialog.cpp \
- StarDictSettings.cpp \
CompressedReader.cpp \
UncompressedReader.cpp \
StarDictReaderFactory.cpp
-
HEADERS += \
StarDictPlugin.h \
TranslationStarDict.h \
../../include/settings.h \
../../include/CommonDictInterface.h \
StarDialog.h \
- StarDictSettings.h \
CompressedReader.h \
UncompressedReader.h \
StarDictReaderFactory.h \
StarDictReader.h
-RESOURCES += \
- StarDict.qrc
+RESOURCES += StarDict.qrc
TRANSLATIONS += pl_PL.ts \
en_US.ts
unix {
- INSTALLS += plugin-icon
+ plugin-icon.path = $$DATA_DIR
+ plugin-icon.files += stardict.png
+ meego {
+ qmls.path = $$DATA_DIR/qml
+ qmls.files += ../../mdictionary/qml/StarDictDialog.qml
+ }
+ else:maemo5 {
+ qmls.path = $$DATA_DIR/qml
+ qmls.files += ../../mdictionary/qml/StarDictDialog.qml
+ }
+ else {
+ qmls.path = $$DATA_DIR/qml
+ qmls.files += ../../mdictionary/qml/StarDictDialog.qml
+ }
- plugin-icon.path = $$DATA_DIR
- plugin-icon.files += xdxf.png
+ INSTALLS += plugin-icon \
+ qmls
}
-check.commands = echo 'No check here'
+check.commands = echo \
+ 'No check here'
QMAKE_EXTRA_TARGETS += check
+
+OTHER_FILES += ../../mdictionary/qml/StarDictDialog.qml