54b09cd059c95e64cc15150e4f7bba8db44a465e
[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
18 HEADERS += \
19     GooglePlugin.h \
20     ../../include/DictDialog.h \
21     ../../include/translation.h \
22     ../../include/settings.h \
23     ../../include/CommonDictInterface.h \
24     TranslationGoogle.h \
25     GoogleDictDialog.h \
26     GoogleDialog.h
27
28 TRANSLATIONS += pl_PL.ts \
29                 en_US.ts
30
31 RESOURCES += \
32     google.qrc
33
34 unix {
35     meego {
36         qmls.path = $$DATA_DIR/qml
37         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
38     }
39     else:maemo5 {
40         qmls.path = $$DATA_DIR/qml
41         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
42     }
43     else {
44         qmls.path = $$DATA_DIR/qml
45         qmls.files += ../../mdictionary/qml/GoogleDialog.qml
46     }
47
48     plugin-icon.path = $$DATA_DIR
49     plugin-icon.files += google.png
50
51     INSTALLS += plugin-icon \
52                 qmls
53 }
54 check.commands = echo 'No check here'
55 QMAKE_EXTRA_TARGETS += check