diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-02 23:25:58 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-02-14 17:40:27 +0000 |
commit | 5be2654885b3699520c4370579c929e2ce352e80 (patch) | |
tree | 3ae5a3bdf308a61dab72c2525a47a948f843d886 /recipes-qt/qt5/qtwebengine/0003-Revert-use-new-feature-name-xkbcommon_evdev-xkbcommo.patch | |
parent | cb1b47212659a21514553cb0a0102861a6e2299b (diff) | |
download | meta-qt5-5be2654885b3699520c4370579c929e2ce352e80.tar.gz |
qtwebengine: Fix build with clang/libc++ on aarch64/arm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.patch | 31 |
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 @@ | |||
1 | From 7d8231d53a5e79eaea9fe2566f407faf41b233b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 2 Feb 2019 23:23:14 -0800 | ||
4 | Subject: [PATCH] Revert "use new feature name xkbcommon_evdev -> xkbcommon" | ||
5 | |||
6 | This reverts commit 21112a89e3d742451d6b449fc7075d51266fe709. | ||
7 | |||
8 | To be compatible with qtbase 5.12.0, remove this patch when upgrading | ||
9 | qtbase to 5.12.1 | ||
10 | |||
11 | Signed-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 | |||
16 | diff --git a/src/core/web_event_factory.cpp b/src/core/web_event_factory.cpp | ||
17 | index 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 | -- | ||
30 | 2.20.1 | ||
31 | |||