aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>2023-06-21 11:46:23 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2023-07-02 00:13:32 +0200
commita46344fdb8a01b6018f8f82213c677b1fcc9a75c (patch)
tree54198373a134307f981ac67437a4ed5733f5e626
parentd86e2e82c15d186141713515dfd1373013aaebd5 (diff)
qttools: fix -staticdev package without opengl ...
... in DISTRO_FEATURES. The -staticdev package is required by packagegroup-qt5-toolchain-target. Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qttools_git.bb4
1 files changed, 4 insertions, 0 deletions
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"