summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-07-12 11:17:40 +0200
committerMichal Klocek <michal.klocek@qt.io>2019-07-12 11:42:05 +0200
commitbb2a0bbd71019c44a38ba8608f8a7b3cd2106f7e (patch)
tree917e977ef5b8036754f09fdf5eefcf0a8f6679c5 /mkspecs
parentd35cd072c3f56aa285871a151adc30d9d81f3ea3 (diff)
Fix detection of ozone x11 support
Fixes: QTBUG-77011 Change-Id: I0136b360c74970b912124f6f308f598c80eceba3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/configure.prf10
-rw-r--r--mkspecs/features/functions.prf8
2 files changed, 3 insertions, 15 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index 42e5b40c9..e407ede17 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -94,13 +94,9 @@ defineTest(runConfigure) {
}
}
- !qtConfig(webengine-embedded-build): qtConfig(xcb) {
- for(package, $$list("libdrm xcomposite xcursor xi xtst")) {
- !qtConfig(webengine-system-$$package) {
- skipBuild("A suitable version of $$package could not be found.")
- return(false)
- }
- }
+ !qtConfig(webengine-embedded-build): qtConfig(xcb) : !qtConfig(webengine-ozone-x11) {
+ skipBuild("Could not find all necessary libraries for qpa-xcb support")
+ return(false)
}
}
}
diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
index 9efa8958f..d3eda85b2 100644
--- a/mkspecs/features/functions.prf
+++ b/mkspecs/features/functions.prf
@@ -121,11 +121,3 @@ defineReplace(pkgConfigHostExecutable) {
return($$system_quote($$system_path($$wrapper_name)))
}
-defineTest(hasX11Dependencies) {
- for(package, $$list("libdrm xcomposite xcursor xi xtst")) {
- !qtConfig(webengine-system-$$package) {
- return(false)
- }
- }
- return(true)
-}