79bf8c80b62f8ccdec6fc76c716deb8ef6c4d735
[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 maemo5 {
9     LIBS += -lbz2 \
10 }
11
12 !maemo5 {
13     LIBS += -ltar \
14         -lbz2
15 }
16
17 maemo5:QT += maemo5
18 SOURCES += xdxfplugin.cpp \
19     TranslationXdxf.cpp \
20     XdxfDictDialog.cpp \
21     XdxfCachingDialog.cpp \
22     XdxfDialog.cpp \
23     XdxfDictDownloader.cpp \
24     XdxfDictSelectDialog.cpp \
25     XdxfDictDownloadProgressDialog.cpp \
26     DictsModel.cpp \
27     HttpDownloader.cpp
28 HEADERS += xdxfplugin.h \
29     TranslationXdxf.h \
30     ../../include/DictDialog.h \
31     XdxfDictDialog.h \
32     ../../include/translation.h \
33     ../../include/settings.h \
34     ../../include/CommonDictInterface.h \
35     XdxfCachingDialog.h \
36     XdxfDialog.h \
37     XdxfDictDownloader.h \
38     XdxfDictSelectDialog.h \
39     XdxfDictDownloadProgressDialog.h \
40     DownloadDict.h \
41     DictsModel.h \
42     DictsProxyModel.h \
43     HttpDownloader.h
44 RESOURCES += xdxf.qrc
45 TRANSLATIONS += pl_PL.ts \
46     en_US.ts
47 unix { 
48     INSTALLS += dicts \
49         plugin-icon
50     dicts.path = $$PLUGINS_DIR
51     dicts.files += ../../../data/dicts/eng-us.xdxf
52     dicts.files += ../../../data/dicts/eng-thai.xdxf
53     plugin-icon.path = $$DATA_DIR
54     plugin-icon.files += xdxf.png
55 }
56 check.commands = echo \
57     'No check here'
58 QMAKE_EXTRA_TARGETS += check