mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-04 05:04:36 +02:00
qtwayland: update build without xkbcommon-evdev
Update patch that enables building qtwayland without xkbcommon-evdev. Building qtwayland without xkbcommon-eved with the previous patch resulted in the following error: error: undefined reference to 'xkb_state_mod_name_is_active' Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
ff073f0410
commit
793f22fb02
@@ -1,13 +1,40 @@
|
||||
From c93dbe53e8a1b2203c750a66c7efe6fc9a326903 Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Freudiger <raphael.freudiger@siemens.com>
|
||||
Date: Thu, 22 Dec 2016 13:54:31 +0100
|
||||
From 2b72ad7955fe19abb4a0b4ebb6bc7aa498e454bc Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Freudiger <laser_b@gmx.ch>
|
||||
Date: Tue, 10 Jan 2017 15:49:55 +0100
|
||||
Subject: [PATCH] fix build without xkbcommon-evdev
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com>
|
||||
Change-Id: I4f52c4ad741fdd7063a18b67f5777b52f03726fe
|
||||
Signed-off-by: Raphael Freudiger <laser_b@gmx.ch>
|
||||
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
|
||||
---
|
||||
src/client/client.pro | 2 ++
|
||||
src/compositor/compositor.pro | 2 ++
|
||||
src/compositor/compositor_api/qwaylandkeyboard.cpp | 13 +++++++------
|
||||
1 file changed, 7 insertions(+), 6 deletions(-)
|
||||
3 files changed, 11 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/client/client.pro b/src/client/client.pro
|
||||
index 7482cfd..cb3578c 100644
|
||||
--- a/src/client/client.pro
|
||||
+++ b/src/client/client.pro
|
||||
@@ -120,3 +120,5 @@ MODULE_PLUGIN_TYPES = \
|
||||
wayland-decoration-client \
|
||||
wayland-shell-integration
|
||||
load(qt_module)
|
||||
+
|
||||
+LIBS += -lxkbcommon
|
||||
diff --git a/src/compositor/compositor.pro b/src/compositor/compositor.pro
|
||||
index dc9000d..4eebfd6 100644
|
||||
--- a/src/compositor/compositor.pro
|
||||
+++ b/src/compositor/compositor.pro
|
||||
@@ -32,3 +32,5 @@ include ($$PWD/extensions/extensions.pri)
|
||||
MODULE_PLUGIN_TYPES = \
|
||||
wayland-graphics-integration-server
|
||||
load(qt_module)
|
||||
+
|
||||
+LIBS += -lxkbcommon
|
||||
diff --git a/src/compositor/compositor_api/qwaylandkeyboard.cpp b/src/compositor/compositor_api/qwaylandkeyboard.cpp
|
||||
index 55381b4..5c054c6 100644
|
||||
--- a/src/compositor/compositor_api/qwaylandkeyboard.cpp
|
||||
@@ -40,5 +67,5 @@ index 55381b4..5c054c6 100644
|
||||
{
|
||||
Q_FOREACH (Resource *resource, resourceMap()) {
|
||||
--
|
||||
2.1.4
|
||||
2.9.3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user