diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-08-02 11:39:17 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-10 13:56:48 +0000 |
commit | 3612cb879cad9dde124e86d254886beb6a069691 (patch) | |
tree | 22caa2c614b761d9b1ff6ad58ca845b8853b9fdd /src | |
parent | 41e1ac9e6e1f1d98a5901253e89d7b524d3cdf6b (diff) |
Fix missing xkbcommon include on openSUSE
We include xkb_key_code_converter.h when compiling
ozone_platform_qt.cpp
Fixes: QTBUG-95473
Change-Id: I45f8dbdd3bcd7934d376256ec08560a8327a8e70
Reviewed-by: Christophe Giboudeaux <christophe@krop.fr>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
(cherry picked from commit 0d79f35e48fddc3c3c294c0da2555130cbcd084a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ozone/BUILD.gn | 8 |
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" ] } } |