summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-08-23 18:23:00 +0200
committerJörg Bornemann <joerg.bornemann@qt.io>2019-09-19 04:12:20 +0000
commit4d1d6fbea5ba80efde7f62532d7c73532361cea9 (patch)
tree5dc7921ea1924800361972e451d9619bc6d682d6 /configure.pri
parenta7f0c31e65034f997513625e3653c1164bfef5ce (diff)
FIXUP: Fix platforms check for topLevel build
In case of a top level build configure.pri is not able to load platform.prf. Move platform.prf to platfrom.pri and use include instead. Fix not loaded qconfig.pri with gcc versions. Make sure there is no function name collision. Change-Id: I2c9994197dc56371fd7ef215ab350aebb89ff701 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Diffstat (limited to 'configure.pri')
-rw-r--r--configure.pri7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.pri b/configure.pri
index 0bf4ca41a..3d6d991ba 100644
--- a/configure.pri
+++ b/configure.pri
@@ -1,5 +1,4 @@
-load(platform)
-
+include(src/buildtools/config/platform.pri)
include(src/buildtools/config/functions.pri)
# this must be done outside any function
@@ -104,7 +103,7 @@ defineTest(qtConfTest_detectBison) {
}
defineTest(qtConfTest_detectPlatform) {
- !isPlatformSupported() {
+ !qtwebengine_isPlatformSupported() {
qtLog("Platform not supported".)
return(false)
}
@@ -112,7 +111,7 @@ defineTest(qtConfTest_detectPlatform) {
}
defineTest(qtConfTest_detectArch) {
- !isArchSupported() {
+ !qtwebengine_isArchSupported() {
qtLog("Architecture not supported".)
return(false)
}