Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tools / qmlviewer / qmlviewer.pro
1 TEMPLATE = app
2 CONFIG += qt uic
3 DESTDIR = ../../bin
4
5 include(qml.pri)
6
7 SOURCES += main.cpp
8
9 INCLUDEPATH += ../../include/QtDeclarative
10 INCLUDEPATH += ../../src/declarative/util
11 INCLUDEPATH += ../../src/declarative/graphicsitems
12
13 target.path = $$[QT_INSTALL_BINS]
14 INSTALLS += target
15
16 wince* {
17     QT += xml
18
19     contains(QT_CONFIG, scripttools) {
20         QT += scripttools
21     }
22     contains(QT_CONFIG, phonon) {
23         QT += phonon
24     }
25     contains(QT_CONFIG, xmlpatterns) {
26         QT += xmlpatterns
27     }
28     contains(QT_CONFIG, webkit) {
29         QT += webkit
30     }
31 }
32 maemo5 {
33     QT += maemo5
34 }
35 symbian {
36     TARGET.UID3 = 0x20021317
37     include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
38     TARGET.EPOCHEAPSIZE = 0x20000 0x4000000
39     TARGET.CAPABILITY = NetworkServices ReadUserData
40
41     # Deploy plugin for remote debugging
42     qmldebuggingplugin.sources = $$QT_BUILD_TREE/plugins/qmltooling/qmldbg_tcp$${QT_LIBINFIX}.dll  $$QT_BUILD_TREE/plugins/qmltooling/qmldbg_ost$${QT_LIBINFIX}.dll 
43     qmldebuggingplugin.path = c:$$QT_PLUGINS_BASE_DIR/qmltooling
44     DEPLOYMENT +=  qmldebuggingplugin
45 }
46 mac {
47     QMAKE_INFO_PLIST=Info_mac.plist
48     TARGET=QMLViewer
49     ICON=qml.icns
50 } else {
51     TARGET=qmlviewer
52 }