[oe] [PATCH][meta-qt5] add libx11-locale to qtbase-plugins RRECOMMENDS

Andreas Müller schnitzeltony at googlemail.com
Thu Aug 6 10:52:08 UTC 2015


fixes:

| Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 recipes-qt/qt5/qtbase_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 33620cb..6ba7c8b 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -265,6 +265,8 @@ FILES_${PN}-fonts-qpf            = "${OE_QMAKE_PATH_LIBS}/fonts/*.qpf*"
 FILES_${PN}-fonts                = "${OE_QMAKE_PATH_LIBS}/fonts/README \
                                     ${OE_QMAKE_PATH_LIBS}/fonts/fontdir"
 
+RRECOMMENDS_${PN}-plugins += "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}"
+
 sysroot_stage_dirs_append() {
     # $to is 2nd parameter passed to sysroot_stage_dir, e.g. ${SYSROOT_DESTDIR} passed from sysroot_stage_all
     rm -rf $to${OE_QMAKE_PATH_LIBS}/fonts
-- 
2.1.0




More information about the Openembedded-devel mailing list