On Thu, Dec 02, 2021 at 07:28:38PM -0800, Ankur Tyagi wrote:
> Hi,
> 
> I am using dunfell branch and trying to include qtbase-examples, 
> qtdeclarative-examples, qtquickcontrols2-examples in the image by adding 
> following to the packagegroup:
> 
> QT5_EXAMPLES = " \
> qtbase-examples \
> qtdeclarative-examples \
> qtquickcontrols2-examples \
> "
> but during image creation I am getting following error:
> 
> Error:
> Problem 1: conflicting requests
> - nothing provides qtdeclarative-examples needed by 
> packagegroup-qt5-1.0-r0.noarch
> Problem 2: conflicting requests
> - nothing provides qtquickcontrols2-examples needed by 
> packagegroup-qt5-examples-1.0-r0.noarch
> (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to 
> use not only best candidate packages)
> 
> But checking qtdeclarative and qtquickcontrols2 recipes, they do provide this 
> package:
> 
> ankur@pc:~/build $ bitbake -e qtquickcontrols2 | grep ^PACKAGES=
> PACKAGES="qtquickcontrols2-qmldesigner qtquickcontrols2-qmlplugins 
> qtquickcontrols2-tools qtquickcontrols2-plugins qtquickcontrols2-mkspecs 
> qtquickcontrols2-examples qtquickcontrols2-src qtquickcontrols2-dbg 
> qtquickcontrols2-staticdev qtquickcontrols2-dev qtquickcontrols2-doc 
> qtquickcontrols2-localeĀ  qtquickcontrols2"
> 
> ankur@pc:~/build $ bitbake -e qtdeclarative | grep ^PACKAGES=
> PACKAGES="qtdeclarative-ptest qtdeclarative-qmldesigner 
> qtdeclarative-qmlplugins qtdeclarative-tools qtdeclarative-plugins 
> qtdeclarative-mkspecs qtdeclarative-examples qtdeclarative-src 
> qtdeclarative-dbg qtdeclarative-staticdev qtdeclarative-dev qtdeclarative-doc 
> qtdeclarative-localeĀ  qtdeclarative"
> 
> What am I missing here?

most likely to enable the PACKAGECONFIG to build them

recipes-qt/qt5/qt5.inc:PACKAGECONFIG[examples] = ""
recipes-qt/qt5/qt5.inc:EXTRA_QMAKEVARS_PRE += 
"${@bb.utils.contains('PACKAGECONFIG', 'examples', 'QT_BUILD_PARTS+=examples', 
'', d)}"

Attachment: signature.asc
Description: PGP signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94196): 
https://lists.openembedded.org/g/openembedded-devel/message/94196
Mute This Topic: https://lists.openembedded.org/mt/87469949/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to