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