summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-11-22 13:22:19 -0800
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-11-28 23:32:43 +0000
commit60dfd59a606b7c4de0c7fc90d1cda49bc15fe1f0 (patch)
treea457e3858d8d3f8783592d99cb9c25eb77ffc0c9 /src
parent41667f7f14bb6f40d14d240c9f74d87de8435398 (diff)
gui/configure.json: Make -{system,qt}-xcb force enabling xcb
... just like -xcb does implicitly. Otherwise, failure to detect system-xcb would silently fall back to -no-xcb despite obviously contradicting the user's request (-qt-xcb always worked anyway, as there is no test that can fail). Change-Id: I6f3145fac0881e7847c4a70547fce206e797a9bb Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/gui/configure.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json
index 28c8034c75..0664cb92c6 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -1157,6 +1157,7 @@
"label": "XCB",
"section": "Platform plugins",
"autoDetect": "!config.darwin",
+ "enable": "input.xcb == 'system' || input.xcb == 'qt'",
"condition": "libs.xcb",
"output": [ "privateFeature" ]
},