summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-18 16:48:49 +0100
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-19 10:14:42 +0000
commit4594e8b48ffa8cf4245c4040e3d6d28aaf9cd5cf (patch)
treec039e01a30ef324ba50edb939f33b278c7bbe8be /tools
parent72472b8b06b9aa54e7f6cf3171b6c95606b23a16 (diff)
Call default_pre before using its results
To check the XCode version, default_pre has to be run first. Under most circumstances the order is not important since the value gets cached, that's why current builds usually work. Change-Id: I2613e92189592d7b25200e22a378f9f593b5057e Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmake/mkspecs/features/default_pre.prf5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/qmake/mkspecs/features/default_pre.prf b/tools/qmake/mkspecs/features/default_pre.prf
index 02f4f24d4..2e556c2a6 100644
--- a/tools/qmake/mkspecs/features/default_pre.prf
+++ b/tools/qmake/mkspecs/features/default_pre.prf
@@ -11,6 +11,8 @@ MODULE_BASE_DIR = $$QTWEBENGINE_ROOT
EOL = $$escape_expand(\\n)
+# Call the original default_pre.
+load(default_pre)
load(functions)
# Check platform support and run config tests early enough to bail
@@ -18,6 +20,3 @@ equals(_PRO_FILE_, "$$QTWEBENGINE_ROOT/qtwebengine.pro"): isPlatformSupported()
load(configure)
runConfigure()
}
-
-# Call the original default_pre.
-load(default_pre)