* Unable to build image with qt examples
@ 2021-12-03 3:28 Ankur Tyagi
2021-12-03 8:43 ` [oe] " Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Ankur Tyagi @ 2021-12-03 3:28 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]
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?
thanks
Ankur
[-- Attachment #2: Type: text/html, Size: 1810 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] Unable to build image with qt examples
2021-12-03 3:28 Unable to build image with qt examples Ankur Tyagi
@ 2021-12-03 8:43 ` Martin Jansa
2021-12-03 21:13 ` Ankur Tyagi
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2021-12-03 8:43 UTC (permalink / raw)
To: Ankur Tyagi; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to build image with qt examples
2021-12-03 8:43 ` [oe] " Martin Jansa
@ 2021-12-03 21:13 ` Ankur Tyagi
0 siblings, 0 replies; 3+ messages in thread
From: Ankur Tyagi @ 2021-12-03 21:13 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 64 bytes --]
Hi Martin,
That solved the issue, thanks.
regards
Ankur
[-- Attachment #2: Type: text/html, Size: 84 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-03 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03 3:28 Unable to build image with qt examples Ankur Tyagi
2021-12-03 8:43 ` [oe] " Martin Jansa
2021-12-03 21:13 ` Ankur Tyagi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.