"export" the qml tools for qtPrepareTool() use
[profile/ivi/qtdeclarative.git] / tools / qmlplugindump / qmlplugindump.pro
index 9cda825..0325630 100644 (file)
@@ -1,11 +1,7 @@
-TEMPLATE = app
-CONFIG += qt uic console
 DESTDIR = $$QT.qml.bins
 
 QT += qml qml-private quick-private core-private
 
-TARGET = qmlplugindump
-
 SOURCES += \
     main.cpp \
     qmlstreamwriter.cpp
@@ -16,22 +12,4 @@ HEADERS += \
 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
-        CONFIG(debug, debug|release) {
-           win32: TARGET = $$join(TARGET,,,d)
-        }
-    } else {
-        contains(QT_CONFIG,debug): CONFIG += debug
-        contains(QT_CONFIG,release): CONFIG += release
-    }
-}
-
-
-target.path = $$[QT_INSTALL_BINS]
-INSTALLS += target
+load(qt_tool)