Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary into qml
[mdictionary] / src / plugins / google / google.pro
1 TARGET = google
2
3 include(../plugin.pri)
4
5 QT = core \
6     gui \
7     network \
8     declarative
9
10 maemo5:QT += maemo5
11
12 SOURCES +=  \
13     GooglePlugin.cpp \
14     TranslationGoogle.cpp \
15     GoogleDictDialog.cpp \
16     GoogleDialog.cpp \
17     ../../include/ComboBoxModel.cpp
18
19 HEADERS += \
20     GooglePlugin.h \
21     ../../include/DictDialog.h \
22     ../../include/translation.h \
23     ../../include/settings.h \
24     ../../include/CommonDictInterface.h \
25     ../../include/ComboBoxModel.h \
26     TranslationGoogle.h \
27     GoogleDictDialog.h \
28     GoogleDialog.h
29
30 TRANSLATIONS += pl_PL.ts \
31                 en_US.ts
32
33 RESOURCES += \
34     google.qrc
35
36 unix {
37     meego {
38         qmls.path = $$DATA_DIR/qml
39         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
40     }
41     else:maemo5 {
42         qmls.path = $$DATA_DIR/qml
43         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
44     }
45     else {
46         qmls.path = $$DATA_DIR/qml
47         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
48     }
49
50     plugin-icon.path = $$DATA_DIR
51     plugin-icon.files += google.png
52
53     INSTALLS += plugin-icon \
54                 qmls
55 }
56 check.commands = echo 'No check here'
57 QMAKE_EXTRA_TARGETS += check
58
59 OTHER_FILES += \
60     ../../mdictionary/qml/GoogleDialog.qml