summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
Diffstat (limited to 'configure.pri')
-rw-r--r--configure.pri9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.pri b/configure.pri
index 054ab283b..acb345ae6 100644
--- a/configure.pri
+++ b/configure.pri
@@ -342,6 +342,10 @@ defineTest(qtConfTest_hasGcc6OrNewer) {
}
defineTest(qtConfTest_detectSubmodule) {
+ isEmpty(QTWEBENGINE_ROOT) {
+ # topLevel build , add poor man's workaround
+ QTWEBENGINE_ROOT=$$PWD/../../../qtwebengine
+ }
!exists($$QTWEBENGINE_ROOT/src/3rdparty/chromium):return(false)
return(true)
}
@@ -351,3 +355,8 @@ defineTest(qtConfTest_detectNoWhitespace) {
!isEmpty(WSPC):return(false)
return(true)
}
+
+defineTest(qtwebengine_confCheckError) {
+ QT_FOR_CONFIG += buildtools-private gui-private
+ return($$qtwebengine_checkError())
+}