From 5fa2f694a3db85946b1bc5c494e3eb7fdb9e027a Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 16 Dec 2024 07:42:12 +0000 Subject: [PATCH] qtconnectivity: move declarative dependency to examples QtConnectivity does not have dependency to declarative other than in the examples. Move the dependencies to example PACKAGECONFIG so the module can be built with minimal dependencies. Pick-to: 6.9 6.8 Fixes: QTBUG-131341 Change-Id: Id43f4c295aa2283d322d85c115797d6eb70843c5 Reviewed-by: Ari Parkkila --- recipes-qt/qt6/qtconnectivity_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt6/qtconnectivity_git.bb b/recipes-qt/qt6/qtconnectivity_git.bb index 8e042cb..a7455fe 100644 --- a/recipes-qt/qt6/qtconnectivity_git.bb +++ b/recipes-qt/qt6/qtconnectivity_git.bb @@ -14,9 +14,10 @@ inherit qt6-cmake include recipes-qt/qt6/qt6-git.inc include recipes-qt/qt6/qt6.inc -DEPENDS += "qtbase qtdeclarative qtdeclarative-native" +DEPENDS += "qtbase" PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}" PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5" +PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native" FILES:${PN}-tools = ""