> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Björn Krombholz
> Sent: Sunday, December 05, 2010 4:15 PM
> To: [email protected]
> Subject: [oe] PREFERRED_PROVIDER and RDEPENDS
> 
> qt4-x11-free and qt4-x11-free-gles both provide qt4-x11-free.
> 
> Setting
> 
> PREFERRED_PROVIDER_qt4-x11-free = "qt4-x11-free-gles"
> 
> works as expected. When you bitbake qt4-x11-free you will get the -gles
> variant.
> 
> On the other hand, when bitbaking task-qt4-x11 which RDEPENDS
> on qt4-x11-free it is trying to build qt4-x11-free.bb and not the -gles
> recipe.
> 
> Is this a general bug? Or would the correct way be adding something like
> RPROVIDES += "virtual/qt4-x11"
> to qt4-x11-free.inc and changing the RDEPENDS to the virtual package?

When I was doing something similar I added the following lines to my recipe:

RPROVIDES_${PN} = "qt4-embedded"
RPROVIDES_${PN}-dev = "qt4-embedded-dev"

This was for an embedded variant but I would image the same holds true for x11 
(of course with a change to qt4-x11-free, etc)

> 
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to