summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-12-06 16:08:12 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-24 18:19:19 +0000
commitf0c5f3306fadc7dea7a13defd8b9cf20a6982493 (patch)
tree5385628f41dfd74d00e6eeeaf49d9f80c1b85018 /mkspecs
parent239cd06b9092918a04b3a2407a5274e8394f2c83 (diff)
Add 32bit host compiler test
The 32bit compiler is required for creating v8 snapshots. Task-number: QTBUG-65004 Task-number: QTBUG-64869 Change-Id: I0a7a351208768f0b12900fac14d3abd5c8d99fa2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/configure.prf7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index 2c0908598..f8c154655 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -30,6 +30,13 @@ defineTest(runConfigure) {
include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri)
QT_FOR_CONFIG += webengine-private
+ !qtConfig(webengine-v8-snapshot-support):qtConfig(webengine-v8-snapshot) {
+ skipBuild("V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not work."\
+ "Please make sure you have 32-bit devel environment installed, or "\
+ "configure webengine with '-no-webengine-v8-snapshot'")
+ return(false)
+ }
+
!qtConfig(webengine-gperf) {
skipBuild("Required gperf could not be found.")
return(false)