summaryrefslogtreecommitdiffstats
path: root/tools/qmake/mkspecs/features/default_pre.prf
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-03-04 14:06:05 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-03-04 13:20:47 +0000
commit96f4439589d9385dd10f5e6dc1fa225b17d2eec5 (patch)
tree67dfcae2ff8a06cadd7dcca512b739efc6e37683 /tools/qmake/mkspecs/features/default_pre.prf
parent9e7618bc04bd29d5782654ecb6633d93510a4e70 (diff)
Fix compiler detection and let Qt decide if examples should be built
This fixes the build on OS X if the path to clang is not cached, and only builds examples if Qt was configured to do so. This has already been fixed in dev. Change-Id: Ia2d17f38f30e832425f6e1cd014b46a6c6ae78ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools/qmake/mkspecs/features/default_pre.prf')
-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)