[oe] [meta-qt5][PATCH 1/2] qtwebkit: Always enable icu in QT_CONFIG
Andreas Oberritter
obi at opendreambox.org
Wed Nov 30 11:11:57 UTC 2016
Allow qtwebkit to be built even if qtbase was configured without icu.
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
recipes-qt/qt5/qtwebkit_git.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index 78ca1f5..d0d7ee8 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -64,6 +64,9 @@ do_configure_prepend() {
sed -e 's/\s\(config_fontconfig: \)/ OE_FONTCONFIG_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
}
+# Forcibly enable ICU, so qtbase doesn't need it.
+EXTRA_QMAKEVARS_PRE += "QT_CONFIG+=icu"
+
# qtwebkit gets terribly big when linking with all debug info, disable by default
QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}"
--
2.7.4
More information about the Openembedded-devel
mailing list