aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2023-05-25 07:21:56 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-29 08:49:09 +0000
commit3bcb7a54bdaf28b8c23c26d934b56847b87bbfac (patch)
tree02e5a019a72cae80ce2fe74c5e4d88441075f36d
parent91abe5d6714340d3ed09ed2658764a48734e351f (diff)
qtbase: add runtime dependency to C.UTF-8 locale
Qt expects to have UTF-8 locale available. If the current locale is not UTF-8, Qt will try to use C.UTF-8 locale. Make that available by adding RRECOMMENDS to locale-base-c package. Task-number: QTBUG-113371 Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit 6ad68945b5a15387434dc8c28ab677a05b7c037f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--recipes-qt/qt6/qtbase_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-qt/qt6/qtbase_git.bb b/recipes-qt/qt6/qtbase_git.bb
index f50696a..41410c6 100644
--- a/recipes-qt/qt6/qtbase_git.bb
+++ b/recipes-qt/qt6/qtbase_git.bb
@@ -30,6 +30,8 @@ DEPENDS += "\
DEPENDS:remove:class-native = "qtbase-native"
RDEPENDS_${PN}:remove:class-native = "libssl-native"
+RRECOMMENDS:${PN}:append:class-target = " locale-base-c"
+
PACKAGECONFIG:class-native ?= "\
gui widgets jpeg png dbus no-opengl openssl zlib \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \