[yocto] Which is the best strategy to customize Qt configuration?
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 13 09:38:59 PDT 2015
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"
(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
More information about the yocto
mailing list