X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fplugins%2Fxdxf%2Fxdxf.pro;h=1c52b1ddb833c9456d904637867e24b701ccb6cb;hb=cd6d19c3e9a71f2e19d13beaf119554905803a12;hp=d108a3cacaecbb4bb13811d9343088d1a97f53ec;hpb=504579054540ea1a39a7941c15dd180fa0374bbe;p=mdictionary diff --git a/src/plugins/xdxf/xdxf.pro b/src/plugins/xdxf/xdxf.pro index d108a3c..1c52b1d 100644 --- a/src/plugins/xdxf/xdxf.pro +++ b/src/plugins/xdxf/xdxf.pro @@ -2,40 +2,94 @@ TARGET = xdxf include(../plugin.pri) -SOURCES += \ - xdxfplugin.cpp \ +QT = core \ + gui \ + xml \ + sql \ + network\ + declarative + +maemo5 { + LIBS += -lbz2 \ +} + +!maemo5 { + LIBS += -ltar \ + -lbz2 +} +maemo5:QT += maemo5 + +SOURCES += xdxfplugin.cpp \ TranslationXdxf.cpp \ - XdxfLoadDialog.cpp \ XdxfDictDialog.cpp \ - XdxfSettingsDialog.cpp \ - XdxfCachingDialog.cpp - + XdxfCachingDialog.cpp \ + XdxfDialog.cpp \ + XdxfDictDownloader.cpp \ + XdxfDictSelectDialog.cpp \ + XdxfDictDownloadProgressDialog.cpp \ + DictsModel.cpp \ + HttpDownloader.cpp \ + DictsListModel.cpp \ + ../../include/ComboBoxModel.cpp -HEADERS += \ - xdxfplugin.h \ +HEADERS += xdxfplugin.h \ TranslationXdxf.h \ - XdxfLoadDialog.h \ ../../include/DictDialog.h \ XdxfDictDialog.h \ ../../include/translation.h \ ../../include/settings.h \ ../../include/CommonDictInterface.h \ - XdxfSettingsDialog.h \ - XdxfCachingDialog.h + ../../include/ComboBoxModel.h \ + XdxfCachingDialog.h \ + XdxfDialog.h \ + XdxfDictDownloader.h \ + XdxfDictSelectDialog.h \ + XdxfDictDownloadProgressDialog.h \ + DownloadDict.h \ + DictsModel.h \ + DictsProxyModel.h \ + HttpDownloader.h \ + DictsListModel.h \ + DictsProxyListModel.h -RESOURCES += \ - xdxf.qrc +RESOURCES += xdxf.qrc + +TRANSLATIONS += pl_PL.ts \ + en_US.ts + +OTHER_FILES += ../../mdictionary/qml/XdxfDialog.qml \ + ../../mdictionary/qml/XdxfDictDownloader.qml \ + ../../mdictionary/qml/TableWidget.qml \ + ../../mdictionary/qml/ScrollBar2.qml -TRANSLATIONS += dict_xdxf_pl.ts \ - dict_xdxf_en.ts - unix { - INSTALLS += dicts + dicts.path = $$PLUGINS_DIR + dicts.files += ../../../data/dicts/eng-us.xdxf + dicts.files += ../../../data/dicts/eng-thai.xdxf + plugin-icon.path = $$DATA_DIR + plugin-icon.files += xdxf.png - dicts.path = $$PLUGINS_DIR - dicts.files += ../../../data/dicts/eng-us.xdxf - dicts.files += ../../../data/dicts/eng-thai.xdxf -} + meego { + qmls.path = $$DATA_DIR/qml + qmls.files += ../../mdictionary/qml/XdxfDialog.qml + } + else:maemo5 { + qmls.path = $$DATA_DIR/qml + qmls.files += ../../mdictionary/qml/XdxfDialog.qml + } + else { + qmls.path = $$DATA_DIR/qml + qmls.files += ../../mdictionary/qml/XdxfDialog.qml + qmls.files += ../../mdictionary/qml/XdxfDictDownloader.qml + qmls.files += ../../mdictionary/qml/TableWidget.qml + qmls.files += ../../mdictionary/qml/ScrollBar2.qml -check.commands = echo 'No check here' + } + + INSTALLS += dicts \ + plugin-icon\ + qmls +} +check.commands = echo \ + 'No check here' QMAKE_EXTRA_TARGETS += check