[yocto] Which is the best strategy to customize Qt configuration?

Martin Jansa martin.jansa at gmail.com
Mon Jul 13 11:04:42 PDT 2015


On Mon, Jul 13, 2015 at 05:38:59PM +0100, Paul Eggleton wrote:
> On Monday 13 July 2015 16:18:55 Pampolini Matteo wrote:
> > It was also my idea to override QT_PHONON variable inside my .bbappend file,
> > but the fact is that this does not prevent BitBake from downloading and
> > compiling glib/gstreamer.
> > 
> > In my first hack, when I modified the original qt.inc file, I had to make
> > both changes, DEPENDS variable for BitBake and QT_PHONON for Qt itself.
> > 
> > As I wrote in my answer to Leonardo the issue is: how can I override the
> > value of DEPENDS variable in my own layer, if possible?
> 
> You can set DEPENDS in the qt4-x11-free bbappend just as with any other 
> variable. In this instance you could use the _remove operator e.g.
> 
> DEPENDS_remove = "gstreamer gst-plugins-base"

Will this work if gstreamer gst-plugins-base aren't next to each other
in DEPENDS?

I think good convention is to use:
DEPENDS_remove = "gstreamer"
DEPENDS_remove = "gst-plugins-base"
for it to work even after original DEPENDS in the recipe is re-ordered
or changed.

Regards,

> (This will only work here having additionally set QT_PHONON = "-no-phonon" to 
> disable the underlying depenendency, of course.)
> 
> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150713/43622f6b/attachment.pgp>


More information about the yocto mailing list