From a46344fdb8a01b6018f8f82213c677b1fcc9a75c Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Wed, 21 Jun 2023 11:46:23 +0200 Subject: qttools: fix -staticdev package without opengl ... ... in DISTRO_FEATURES. The -staticdev package is required by packagegroup-qt5-toolchain-target. Signed-off-by: Johannes Kauffmann Signed-off-by: Martin Jansa --- recipes-qt/qt5/qttools_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-qt/qt5') diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index 0e9007c3..7cb29343 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb @@ -24,6 +24,10 @@ SRC_URI:append:class-native = " ${@bb.utils.contains('PACKAGECONFIG', 'clang', ' FILES:${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks" FILES:${PN}-examples = "${datadir}${QT_DIR_NAME}/examples" +# Without "opengl" in DISTRO_FEATURES, the libQt5UiTools.a library isn't generated, but qttools-staticdev +# is required by packagegroup-qt5-toolchain-target. +ALLOW_EMPTY:${PN}-staticdev = "1" + PACKAGECONFIG ??= "" PACKAGECONFIG:append:toolchain-clang = " clang" -- cgit v1.2.3