Do not use deprecated API
[profile/ivi/qtdeclarative.git] / tools / qmlplugindump / qmlplugindump.pro
1 TEMPLATE = app
2 CONFIG += qt uic console
3 DESTDIR = $$QT.qml.bins
4
5 QT += qml qml-private quick-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         CONFIG(debug, debug|release) {
27            win32: TARGET = $$join(TARGET,,,d)
28         }
29     } else {
30         contains(QT_CONFIG,debug): CONFIG += debug
31         contains(QT_CONFIG,release): CONFIG += release
32     }
33 }
34
35
36 target.path = $$[QT_INSTALL_BINS]
37 INSTALLS += target