[meta-freescale] [PATCH v2 4/4] qtbase: Enable xkbcommon-evdev for wayland
Yuqing Zhu
carol.zhu at nxp.com
Tue Dec 5 01:29:25 PST 2017
Met some 'undefined reference to xkb' error in wayland build.
Need to enable xkbcommon-evdev for wayland.
Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
---
dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index 8277d52..d344efd 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -29,3 +29,6 @@ QT_CONFIG_FLAGS_APPEND_imxgpu3d = "\
'-eglfs', d), d)}"
QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}"
+
+PACKAGECONFIG_WAYLAND ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xkbcommon-evdev', '', d)}"
+PACKAGECONFIG += "${PACKAGECONFIG_WAYLAND}"
--
1.9.1
More information about the meta-freescale
mailing list