summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-09-07 12:48:43 -0700
committerJake Petroules <jake.petroules@qt.io>2017-09-08 19:31:45 +0000
commit3f8cddf6208eedab70ff481dbefd90b7c1553d39 (patch)
treef69ccb311e6a1c06fb0755f1607d1291d85e6dd5
parent8a7b80ebea1fa30d892028e34696890d3321e816 (diff)
downloadqtquick1-3f8cddf6208eedab70ff481dbefd90b7c1553d39.tar.gz
Express dependency on QtScript
This properly skips the module build if QtScript is not available. We also remove the !winrt check since this is implied by and as a result of !qtHaveModule(script). Change-Id: Ia94e90ff65131a36f64e4839c4aeef9fd0d1c845 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-rw-r--r--qtquick1.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/qtquick1.pro b/qtquick1.pro
index e5b75edb..a71423f4 100644
--- a/qtquick1.pro
+++ b/qtquick1.pro
@@ -1,4 +1,3 @@
-requires(!winrt)
-requires(qtHaveModule(widgets))
+requires(qtHaveModule(script):qtHaveModule(widgets))
load(qt_parts)