summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
Diffstat (limited to 'configure.pri')
-rw-r--r--configure.pri16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.pri b/configure.pri
index 23f72c5c6..a90b06687 100644
--- a/configure.pri
+++ b/configure.pri
@@ -120,7 +120,7 @@ defineTest(qtConfTest_detectGn) {
return(false)
}
-defineTest(qtConfTest_embedded) {
+defineTest(qtConfTest_detectEmbedded) {
lessThan(QT_MINOR_VERSION, 9) {
cross_compile: return(true)
return(false)
@@ -129,6 +129,20 @@ defineTest(qtConfTest_embedded) {
return(false)
}
+defineTest(qtConfTest_detectXcb) {
+ #workaround for for not working 'depends' in main configure when no 'module'
+ QT_FOR_CONFIG += gui-private
+ qtConfig(xcb): return(true)
+ return(false)
+}
+
+defineTest(qtConfTest_detectDeveloperBuild) {
+ #workaround for for not working 'depends' in main configure when no 'module'
+ QT_FOR_CONFIG += core-private
+ qtConfig(private_tests): return(true) # enabled for developer-build
+ return(false)
+}
+
defineTest(qtConfTest_detectHostPkgConfig) {
PKG_CONFIG = $$qtConfPkgConfig(true)
isEmpty(PKG_CONFIG) {