From e9c183e08994127f6dee54ed00071983af66e46d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 7 Jul 2022 15:45:36 +0000 Subject: [PATCH] qtbase: build native and nativesdk with zstd enabled rcc is using zstd to compress resources, so that needs be enabled also in native and nativesdk builds. Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e Reviewed-by: Mikko Gronoff (cherry picked from commit 812bf25183c440dd28dcadaa7732d8f088b134f1) Reviewed-by: Qt Cherry-pick Bot --- recipes-qt/qt6/qtbase_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt6/qtbase_git.bb b/recipes-qt/qt6/qtbase_git.bb index 6263d65..d0a5217 100644 --- a/recipes-qt/qt6/qtbase_git.bb +++ b/recipes-qt/qt6/qtbase_git.bb @@ -28,7 +28,10 @@ DEPENDS += "\ DEPENDS:remove:class-native = "qtbase-native" RDEPENDS_${PN}:remove:class-native = "libssl-native" -PACKAGECONFIG:class-native ?= "gui widgets png dbus no-opengl openssl" +PACKAGECONFIG:class-native ?= "\ + gui widgets png dbus no-opengl openssl \ + ${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \ +" PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}" PACKAGECONFIG ?= "\ ${PACKAGECONFIG_DEFAULT} \