summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch b/recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch
new file mode 100644
index 00000000..97f82847
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch
@@ -0,0 +1,31 @@
1From 7d8231d53a5e79eaea9fe2566f407faf41b233b4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Feb 2019 23:23:14 -0800
4Subject: [PATCH] Revert "use new feature name xkbcommon_evdev -> xkbcommon"
5
6This reverts commit 21112a89e3d742451d6b449fc7075d51266fe709.
7
8To be compatible with qtbase 5.12.0, remove this patch when upgrading
9qtbase to 5.12.1
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/core/web_event_factory.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/core/web_event_factory.cpp b/src/core/web_event_factory.cpp
17index 06dbd7ff..a45f7048 100644
18--- a/src/core/web_event_factory.cpp
19+++ b/src/core/web_event_factory.cpp
20@@ -101,7 +101,7 @@ static KeyboardDriver keyboardDriverImpl()
21 if (platformName == QLatin1Literal("xcb") || platformName == QLatin1Literal("wayland"))
22 return KeyboardDriver::Xkb;
23
24-#if QT_CONFIG(libinput) && QT_CONFIG(xkbcommon)
25+#if QT_CONFIG(libinput) && QT_CONFIG(xkbcommon_evdev)
26 // Based on QEglFSIntegration::createInputHandlers and QLibInputKeyboard::processKey.
27 if (platformName == QLatin1Literal("eglfs") && !qEnvironmentVariableIntValue("QT_QPA_EGLFS_NO_LIBINPUT"))
28 return KeyboardDriver::Xkb;
29--
302.20.1
31