summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-08-02 11:39:17 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-08-06 07:08:12 +0000
commit0d79f35e48fddc3c3c294c0da2555130cbcd084a (patch)
tree82d3269b426b31d472befe96aff94b22d44ac6c8 /src/core/ozone
parentb4f02c12a543d31d7a36e791bf29e0249760252e (diff)
Fix missing xkbcommon include on openSUSE
We include xkb_key_code_converter.h when compiling ozone_platform_qt.cpp Fixes: QTBUG-95473 Pick-to: 6.2 Change-Id: I45f8dbdd3bcd7934d376256ec08560a8327a8e70 Reviewed-by: Christophe Giboudeaux <christophe@krop.fr> Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/ozone')
-rw-r--r--src/core/ozone/BUILD.gn8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn
index 016d0a71d..48d68902f 100644
--- a/src/core/ozone/BUILD.gn
+++ b/src/core/ozone/BUILD.gn
@@ -2,6 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ui/base/ui_features.gni")
+import("//build/config/linux/pkg_config.gni")
+
+if (use_xkbcommon) {
+ pkg_config("xkbcommon") {
+ packages = [ "xkbcommon" ]
+ }
+}
source_set("qt") {
sources = [
@@ -21,6 +28,7 @@ source_set("qt") {
defines = [ "OZONE_IMPLEMENTATION" ]
if (use_xkbcommon) {
+ configs += [ ":xkbcommon" ]
libs = [ "xkbfile" ]
}
}