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

Paul Eggleton paul.eggleton at linux.intel.com
Tue Jul 14 01:06:35 PDT 2015


On Monday 13 July 2015 20:04:42 Martin Jansa wrote:
> 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?

Yes, it will. Try it ;)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list