From a28765bf60028e7dc59130432edf16782b77a438 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 31 May 2019 14:49:58 +0300 Subject: Allow enabling gui for native and nativesdk Some Qt build tools may depend on QtGui, which need platform plugins for running them. Use minimal platform plugin since no interaction with the tool is expected. Add PACKAGECONFIGs that can be used to enable gui and image format plugins for the native and nativesdk builds. Task-number: AUTOSUITE-1009 Change-Id: I39a9c5612da2c84be44e55665a970ed2a2fd512f Reviewed-by: Nikolay Zamotaev Reviewed-by: Mikko Gronoff --- recipes-qt/qt5/qtbase-native_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes-qt/qt5/qtbase-native_git.bb') diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index cee1a1c4..07978e9b 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb @@ -56,18 +56,18 @@ CLEANBROKEN = "1" XPLATFORM_toolchain-clang = "linux-oe-clang" XPLATFORM ?= "linux-oe-g++" +PACKAGECONFIG ?= "" +PACKAGECONFIG[gui] = "-gui -qpa minimal,-no-gui," +PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpg -no-ico -no-gif," + QT_CONFIG_FLAGS = " \ -sysroot ${STAGING_DIR_NATIVE} \ -L${STAGING_LIBDIR_NATIVE} \ -no-gcc-sysroot \ -system-zlib \ -qt-pcre \ - -no-libjpeg \ - -no-libpng \ - -no-gif \ -no-accessibility \ -no-cups \ - -no-gui \ -no-sql-mysql \ -no-sql-sqlite \ -no-sql-psql \ -- cgit v1.2.3-54-g00ecf