aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2023-08-14 07:44:09 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-08-15 16:10:26 +0000
commit0e86bd4b0f94bd6617d52dc027d8c02fdd1c58e1 (patch)
treeeb3fdbfdbb6661d705b024d810f00c276fa6ad3a
parentf5c98eeef6abc7565321a19b8cb1e8b05fbb0654 (diff)
examples: add runtime dependency to main package
If examples are only using QML modules, the package manager won't add automatic dependency to either the main or -qmlplugins packages, and those might not get installed to the image. Add the runtime dependency explicitly for the examples package. Fixes: QTBUG-115310 Change-Id: I5b713d3a65f794da1ab0113cf1d7f69035e29288 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit c0318a6ad822ee5889ddb8ba5edb39e04a998930) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--recipes-qt/qt6/qt6.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-qt/qt6/qt6.inc b/recipes-qt/qt6/qt6.inc
index b3610ea..020a351 100644
--- a/recipes-qt/qt6/qt6.inc
+++ b/recipes-qt/qt6/qt6.inc
@@ -127,3 +127,4 @@ FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"
+RDEPENDS:${PN}-examples = "${PN}"