aboutsummaryrefslogtreecommitdiffstats
path: root/qtdeclarative.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@kdab.com>2020-02-28 03:26:25 +0900
committerTasuku Suzuki <tasuku.suzuki@kdab.com>2020-03-04 10:48:18 +0900
commitd147b99f753aab42f29cd069b5f028e3f354751e (patch)
tree061e16731107e6d22c41fb40f4811ff19bdf3b33 /qtdeclarative.pro
parent48deaf9a3e323181662d3c031dbe3c729ecc2bee (diff)
Fix build without commandlineparser and temporaryfile
qmltyperegistrar uses QSaveFile which needs features.temporaryfile Change-Id: Ib64eb2d357ee5e75f12f81f15bbe4969d4d96872 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'qtdeclarative.pro')
-rw-r--r--qtdeclarative.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtdeclarative.pro b/qtdeclarative.pro
index 5b94da9b69..84120bfd07 100644
--- a/qtdeclarative.pro
+++ b/qtdeclarative.pro
@@ -1,4 +1,9 @@
CONFIG += tests_need_tools examples_need_tools
+
+# Otherwise we cannot compile src/qmltyperegistrar
+requires(qtConfig(commandlineparser))
+requires(qtConfig(temporaryfile))
+
load(qt_parts)
!python_available {