starDict dialog in qml
[mdictionary] / src / plugins / stardict / stardict.pro
1 TARGET = stardict
2
3 include(../plugin.pri)
4
5 QT = core \
6     gui \
7     xml \
8     sql \
9     declarative
10
11 maemo5:QT += maemo5
12
13 LIBS += -lz
14
15 SOURCES +=  \
16     StarDictPlugin.cpp \
17     TranslationStarDict.cpp \
18     StarDictDialog.cpp \
19     StarDialog.cpp \
20     CompressedReader.cpp \
21     UncompressedReader.cpp \
22     StarDictReaderFactory.cpp
23
24 HEADERS += \
25     StarDictPlugin.h \
26     TranslationStarDict.h \
27     ../../include/DictDialog.h \
28     StarDictDialog.h \
29     ../../include/translation.h \
30     ../../include/settings.h \
31     ../../include/CommonDictInterface.h \
32     StarDialog.h \
33     CompressedReader.h \
34     UncompressedReader.h \
35     StarDictReaderFactory.h \
36     StarDictReader.h
37
38 RESOURCES += StarDict.qrc
39
40 TRANSLATIONS += pl_PL.ts \
41                 en_US.ts
42     
43 unix {
44     meego {
45         qmls.path = $$DATA_DIR/qml
46         qmls.files += ../../mdictionary/qml/StarDictDialog.qml
47     }
48     else:maemo5 {
49         qmls.path = $$DATA_DIR/qml
50         qmls.files += ../../mdictionary/qml/StarDictDialog.qml
51     }
52     else {
53         qmls.path = $$DATA_DIR/qml
54         qmls.files += ../../mdictionary/qml/StarDictDialog.qml
55     }
56
57     plugin-icon.path = $$DATA_DIR
58     plugin-icon.files += stardict.png
59
60     INSTALLS += plugin-icon \
61                 qmls
62 }
63
64 check.commands = echo \
65                 'No check here'
66 QMAKE_EXTRA_TARGETS += check
67
68 OTHER_FILES += \
69     ../../mdictionary/qml/StarDictDialog.qml \