aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump/qmlplugindump.pro
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@qt.io>2017-01-19 15:47:51 +0100
committerMarco Benelli <marco.benelli@qt.io>2017-01-31 09:55:19 +0000
commitbdb18b54717f2f97364de811bebc14a31becf1b7 (patch)
tree39353ef455d8b9f8d5282d26970c325dbd5980f1 /tools/qmlplugindump/qmlplugindump.pro
parentdc0a7d7021b52adfea1e128557ff35c003a49431 (diff)
qmlplugindump: add -qapp option
Some modules (ie QtChart) require a QApplication instead of the QGuiApplication that qmlplugindump use by default. This option let the user specify if a QApplication is needed. Task-number: QTBUG-58264 Change-Id: I10e68d0d3eab2afad315b57fef9ce92c42e70124 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tools/qmlplugindump/qmlplugindump.pro')
-rw-r--r--tools/qmlplugindump/qmlplugindump.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro
index 16d9a3f4d9..2749ec943f 100644
--- a/tools/qmlplugindump/qmlplugindump.pro
+++ b/tools/qmlplugindump/qmlplugindump.pro
@@ -1,4 +1,5 @@
QT += qml qml-private quick-private core-private
+qtHaveModule(widgets): QT += widgets
CONFIG += no_import_scan