Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging
[profile/ivi/qtdeclarative.git] / tools / qmlplugindump / qmlplugindump.pro
1 TEMPLATE = app
2 CONFIG += qt uic console
3 DESTDIR = ../../bin
4
5 QT += declarative declarative-private core-private
6
7 TARGET = qmlplugindump
8
9 SOURCES += \
10     main.cpp \
11     qmlstreamwriter.cpp
12
13 HEADERS += \
14     qmlstreamwriter.h
15
16 OTHER_FILES += Info.plist
17 macx: QMAKE_INFO_PLIST = Info.plist
18
19 # Build debug and release versions of the tool on Windows -
20 # if debug and release versions of Qt have been built.
21 !build_pass:win32 {
22     CONFIG -= debug release debug_and_release build_all
23
24     contains(QT_CONFIG,debug):contains(QT_CONFIG,release) {
25         CONFIG += debug_and_release build_all
26     } else {
27         contains(QT_CONFIG,debug): CONFIG += debug
28         contains(QT_CONFIG,release): CONFIG += release
29     }
30 }
31
32 CONFIG(debug, debug|release) {
33     win32: TARGET = $$join(TARGET,,,d)
34 }
35
36 target.path = $$[QT_INSTALL_BINS]
37 INSTALLS += target