[oe] making qt5 package machine specific
Martin Jansa
martin.jansa at gmail.com
Fri Nov 22 14:51:01 UTC 2013
On Fri, Nov 22, 2013 at 12:12:49PM +0000, André Draszik wrote:
> Thanks Martin!
>
> On Fri, 2013-11-22 at 11:51 +0100, Martin Jansa wrote:
> > You can have recipes which use only qtbase-native and qmake only as
> > build tool and don't use target qtbase at all.
> >
> > Such recipes inherit qmake5_base to setup paths etc and shouldn't became
> > MACHINE_ARCH just because target qtbase (which they don't use at all) is.
>
> OK.
>
> Would it be better / ok to move my patch into qt5.inc then?
>
> My only (maybe unjustified) concern with this is: What defines if some
> source code uses / can see configuration options from qtbase configure
> time when invoking qmake? Purely that projects own build system? I can't
> see anything in meta-qt5 that could affect this, unless I'm missing
> something.
You can add it to separate .bbclass and inherit it from qt5.inc
> In other words, could a recipe build sources that depend on the Qt
> configuration, without including qt5.inc?
Yes any recipe which inherits qmake5 and also has qtbase added in
DEPENDS should inherit this class if it wants PACKAGE_ARCH to be
automatically adjusted.
--
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: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131122/e3b36488/attachment-0002.sig>
More information about the Openembedded-devel
mailing list