From 1b14686657cddcc5bb37a5c7db8a35f1c4903ee3 Mon Sep 17 00:00:00 2001 From: Philip Craig Date: Wed, 26 Jun 2013 02:13:02 +0000 Subject: [PATCH] qtbase: disable fontconfig support by default Currently fontconfig support is autodetected. It is better to be deterministic. Since qtbase-fonts is not installed where fontconfig will find it, it seems that current users are not using fontconfig. Signed-off-by: Philip Craig Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtbase.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index ee4094b237..f521a30225 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc @@ -21,7 +21,7 @@ SRC_URI += " \ file://0020-Use-BGRA-extension-in-bindTexture.patch \ " -DEPENDS += "qtbase-native freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev ${XCB_DEPENDS} ${GL_DEPENDS} ${TSLIB_DEPENDS}" +DEPENDS += "qtbase-native freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev ${XCB_DEPENDS} ${GL_DEPENDS} ${TSLIB_DEPENDS} ${FONTCONFIG_DEPENDS}" # to provide xcb/xcb_icccm.h, xcb/xcb_image.h, xcb/xcb_keysyms.h and dbus/dbus.h # XCB_DEPENDS += "xcb-util-wm xcb-util-image xcb-util-keysyms dbus" @@ -52,6 +52,11 @@ QT_GLFLAGS ?= "-opengl" TSLIB_DEPENDS ?= "" QT_TSLIB ?= "-no-tslib" +# FONTCONFIG_DEPENDS = "fontconfig" +# QT_FONTCONFIG = "-fontconfig" +FONTCONFIG_DEPENDS ?= "" +QT_FONTCONFIG ?= "-no-fontconfig" + QT_WIDGETS ?= "-widgets" QT_XML ?= "-xmlpatterns" QT_WEBKIT ?= "-webkit" @@ -87,6 +92,7 @@ QT_CONFIG_FLAGS += " \ ${QT_TESTS} \ ${QT_EXAMPLES} \ ${QT_TSLIB} \ + ${QT_FONTCONFIG} \ " INC_PR = "r2"