diff options
author | Matthew Vogt <matthew.vogt@nokia.com> | 2012-02-01 16:26:14 +1000 |
---|---|---|
committer | Matthew Vogt <matthew.vogt@nokia.com> | 2012-02-02 06:19:32 +0100 |
commit | 7d0e73b77bbc60ac56776ae1d4a87df6812f716c (patch) | |
tree | edbba43366ffb2efc68fe795849e854056a0868a /tools/qmlplugindump/qmlplugindump.pro | |
parent | 7b15b87ee72ffb583b317f672115be3d5437601a (diff) |
Add qmlplugindump tool to qtquick1 module
Change-Id: I94a52b2207fb2b5dd66e9e4da8f42ddf2daf4da0
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'tools/qmlplugindump/qmlplugindump.pro')
-rw-r--r-- | tools/qmlplugindump/qmlplugindump.pro | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro new file mode 100644 index 00000000..e8b5fac0 --- /dev/null +++ b/tools/qmlplugindump/qmlplugindump.pro @@ -0,0 +1,38 @@ +TEMPLATE = app +CONFIG += qt uic console +DESTDIR = $$QT.declarative.bins + +QT += quick1 quick1-private core-private +!isEmpty(QT.widgets.name): QT += gui gui-private widgets widgets-private + +TARGET = qmlplugindump + +SOURCES += \ + main.cpp \ + qmlstreamwriter.cpp + +HEADERS += \ + qmlstreamwriter.h + +OTHER_FILES += Info.plist +macx: QMAKE_INFO_PLIST = Info.plist + +# Build debug and release versions of the tool on Windows - +# if debug and release versions of Qt have been built. +!build_pass:win32 { + CONFIG -= debug release debug_and_release build_all + + contains(QT_CONFIG,debug):contains(QT_CONFIG,release) { + CONFIG += debug_and_release build_all + } else { + contains(QT_CONFIG,debug): CONFIG += debug + contains(QT_CONFIG,release): CONFIG += release + } +} + +CONFIG(debug, debug|release) { + win32: TARGET = $$join(TARGET,,,d) +} + +target.path = $$[QT_INSTALL_BINS] +INSTALLS += target |