xdxfDialog in qml
[mdictionary] / src / plugins / xdxf / xdxf.pro
1 TARGET = xdxf
2 include(../plugin.pri)
3 QT = core \
4     gui \
5     xml \
6     sql \
7     network\
8     declarative
9
10 maemo5 {
11     LIBS += -lbz2 \
12 }
13
14 !maemo5 {
15     LIBS += -ltar \
16         -lbz2
17 }
18
19 maemo5:QT += maemo5
20 SOURCES += xdxfplugin.cpp \
21     TranslationXdxf.cpp \
22     XdxfDictDialog.cpp \
23     XdxfCachingDialog.cpp \
24     XdxfDialog.cpp \
25     XdxfDictDownloader.cpp \
26     XdxfDictSelectDialog.cpp \
27     XdxfDictDownloadProgressDialog.cpp \
28     DictsModel.cpp \
29     HttpDownloader.cpp
30 HEADERS += xdxfplugin.h \
31     TranslationXdxf.h \
32     ../../include/DictDialog.h \
33     XdxfDictDialog.h \
34     ../../include/translation.h \
35     ../../include/settings.h \
36     ../../include/CommonDictInterface.h \
37     XdxfCachingDialog.h \
38     XdxfDialog.h \
39     XdxfDictDownloader.h \
40     XdxfDictSelectDialog.h \
41     XdxfDictDownloadProgressDialog.h \
42     DownloadDict.h \
43     DictsModel.h \
44     DictsProxyModel.h \
45     HttpDownloader.h
46 RESOURCES += xdxf.qrc
47 TRANSLATIONS += pl_PL.ts \
48     en_US.ts
49 OTHER_FILES += \
50     ../../mdictionary/qml/XdxfDialog.qml
51
52
53 unix {
54     dicts.path = $$PLUGINS_DIR
55     dicts.files += ../../../data/dicts/eng-us.xdxf
56     dicts.files += ../../../data/dicts/eng-thai.xdxf
57     plugin-icon.path = $$DATA_DIR
58     plugin-icon.files += xdxf.png
59
60     meego {
61         qmls.path = $$DATA_DIR/qml
62         qmls.files += ../../mdictionary/qml/XdxfDialog.qml
63     }
64     else:maemo5 {
65         qmls.path = $$DATA_DIR/qml
66         qmls.files += ../../mdictionary/qml/XdxfDialog.qml
67     }
68     else {
69         qmls.path = $$DATA_DIR/qml
70         qmls.files += ../../mdictionary/qml/XdxfDialog.qml
71     }
72
73     INSTALLS += dicts \
74         plugin-icon\
75         qmls
76 }
77 check.commands = echo \
78     'No check here'
79 QMAKE_EXTRA_TARGETS += check
80
81