From fb8737c59a9016dffaa96e9cd9f82424432a9f46 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 12 Sep 2025 04:59:26 +0000 Subject: [PATCH] qttools: don't fail on unsupported clang oe-core might have too recent version of clang which is not supported by qttools. Don't force qttools to use clang, but let it determine if the version is suitable. Pick-to: 6.10.0 6.9 6.8 Change-Id: I8a141ec01f3556d33b3037ba27adc250b99855b5 Reviewed-by: Ari Parkkila (cherry picked from commit 4df44780d19196b8a21dca8c592f65ec357dfdae) Reviewed-by: Qt Cherry-pick Bot --- recipes-qt/qt6/qttools_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-qt/qt6/qttools_git.bb b/recipes-qt/qt6/qttools_git.bb index a8c9b8c..cd62968 100644 --- a/recipes-qt/qt6/qttools_git.bb +++ b/recipes-qt/qt6/qttools_git.bb @@ -33,7 +33,7 @@ QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.to_boolean(d.getVar('CAN_USE_CLANG PACKAGECONFIG:class-native = "${QTTOOLS_USE_CLANG}" PACKAGECONFIG:class-nativesdk = "${QTTOOLS_USE_CLANG}" -PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang" +PACKAGECONFIG[clang] = ",-DFEATURE_clang=OFF,clang" FILES:${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"