summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qmlplugindump/qmlplugindump.pro30
-rw-r--r--tools/tools.pro2
2 files changed, 5 insertions, 27 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro
index e8b5fac0..53d202e7 100644
--- a/tools/qmlplugindump/qmlplugindump.pro
+++ b/tools/qmlplugindump/qmlplugindump.pro
@@ -1,11 +1,7 @@
-TEMPLATE = app
-CONFIG += qt uic console
-DESTDIR = $$QT.declarative.bins
+DESTDIR = $$QT.quick1.bins
+TARGET = qml1plugindump
-QT += quick1 quick1-private core-private
-!isEmpty(QT.widgets.name): QT += gui gui-private widgets widgets-private
-
-TARGET = qmlplugindump
+QT += core-private quick1-private
SOURCES += \
main.cpp \
@@ -17,22 +13,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
- } 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
+load(qt_tool)
diff --git a/tools/tools.pro b/tools/tools.pro
index f17f4cb5..02a1e201 100644
--- a/tools/tools.pro
+++ b/tools/tools.pro
@@ -1,2 +1,2 @@
TEMPLATE = subdirs
-SUBDIRS += qml
+SUBDIRS += qml qmlplugindump