diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-02-10 09:22:31 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-02-10 14:03:32 +0200 |
commit | 251beba0ca5f7fae85b8fd9c20851c53347c9722 (patch) | |
tree | 6e2a334753d8bfb04e17a4b9ca56f89773a337e1 /recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch | |
parent | 1c88e9b361b9df92edf27b7d23f1bc3f07e784a3 (diff) | |
parent | 8ba28144d5571504112fd4f32c7bfcbac531e2cb (diff) | |
download | meta-qt5-5.8.tar.gz |
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.85.8
* qtyocto/upstream/master:
qtwebengine: disable generate_character_data
qtwayland: fix build without xkbcommon-evdev
qtwayland: Add libxkbcommon in the dependencies
qtbase: create empty oe-device-extra.pri
cmake_qt5.bbclass: add qtbase-native to DEPENDS
Upgrade to Qt 5.8
qtbase: Remove comments about ICU and QtWebKit
qtwebkit: Always enable icu in QT_CONFIG
qtwebengine: use QT_GIT_PROTOCOL variable
Conflicts:
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtwayland_git.bb
Change-Id: I8929585c07f462b7ff28c0342386d4114c0c0ee2
Diffstat (limited to 'recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch')
-rw-r--r-- | recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch b/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch new file mode 100644 index 00000000..e1e978e8 --- /dev/null +++ b/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From c93dbe53e8a1b2203c750a66c7efe6fc9a326903 Mon Sep 17 00:00:00 2001 | ||
2 | From: Raphael Freudiger <raphael.freudiger@siemens.com> | ||
3 | Date: Thu, 22 Dec 2016 13:54:31 +0100 | ||
4 | Subject: [PATCH] fix build without xkbcommon-evdev | ||
5 | |||
6 | Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com> | ||
7 | --- | ||
8 | src/compositor/compositor_api/qwaylandkeyboard.cpp | 13 +++++++------ | ||
9 | 1 file changed, 7 insertions(+), 6 deletions(-) | ||
10 | |||
11 | diff --git a/src/compositor/compositor_api/qwaylandkeyboard.cpp b/src/compositor/compositor_api/qwaylandkeyboard.cpp | ||
12 | index 55381b4..5c054c6 100644 | ||
13 | --- a/src/compositor/compositor_api/qwaylandkeyboard.cpp | ||
14 | +++ b/src/compositor/compositor_api/qwaylandkeyboard.cpp | ||
15 | @@ -338,12 +338,6 @@ void QWaylandKeyboardPrivate::createXKBState(xkb_keymap *keymap) | ||
16 | xkb_state = xkb_state_new(keymap); | ||
17 | } | ||
18 | |||
19 | -uint QWaylandKeyboardPrivate::toWaylandXkbV1Key(const uint nativeScanCode) | ||
20 | -{ | ||
21 | - const uint offset = 8; | ||
22 | - Q_ASSERT(nativeScanCode >= offset); | ||
23 | - return nativeScanCode - offset; | ||
24 | -} | ||
25 | |||
26 | void QWaylandKeyboardPrivate::createXKBKeymap() | ||
27 | { | ||
28 | @@ -373,6 +367,13 @@ void QWaylandKeyboardPrivate::createXKBKeymap() | ||
29 | } | ||
30 | #endif | ||
31 | |||
32 | +uint QWaylandKeyboardPrivate::toWaylandXkbV1Key(const uint nativeScanCode) | ||
33 | +{ | ||
34 | + const uint offset = 8; | ||
35 | + Q_ASSERT(nativeScanCode >= offset); | ||
36 | + return nativeScanCode - offset; | ||
37 | +} | ||
38 | + | ||
39 | void QWaylandKeyboardPrivate::sendRepeatInfo() | ||
40 | { | ||
41 | Q_FOREACH (Resource *resource, resourceMap()) { | ||
42 | -- | ||
43 | 2.1.4 | ||
44 | |||