X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fplugins%2Fstardict%2Fstardict.pro;h=96b6a25bb5993362c178a8ebb0176fff105948c9;hb=f398f7e3985c755407a9172468fe94b903bedb49;hp=c1cd23ecb3f3bf47e2655598c7850a6d6ddcfc1c;hpb=cf4c5f5f289c7760c392322344fe04b437a4575c;p=mdictionary diff --git a/src/plugins/stardict/stardict.pro b/src/plugins/stardict/stardict.pro index c1cd23e..96b6a25 100644 --- a/src/plugins/stardict/stardict.pro +++ b/src/plugins/stardict/stardict.pro @@ -5,17 +5,21 @@ include(../plugin.pri) QT = core \ gui \ xml \ - sql + sql \ + declarative maemo5:QT += maemo5 +LIBS += -lz + SOURCES += \ StarDictPlugin.cpp \ TranslationStarDict.cpp \ StarDictDialog.cpp \ StarDialog.cpp \ - StarDictSettings.cpp - + CompressedReader.cpp \ + UncompressedReader.cpp \ + StarDictReaderFactory.cpp HEADERS += \ StarDictPlugin.h \ @@ -26,22 +30,39 @@ HEADERS += \ ../../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 + 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 += stardict.png - - 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