[oe] [meta-qt5][PATCH] qmake5_base.bbclass: fix typo

Alexis Cellier alexis.cellier at openwide.fr
Wed Apr 29 16:34:37 UTC 2015



----- Mail original -----
> De: "Martin Jansa" <martin.jansa at gmail.com>
> À: openembedded-devel at lists.openembedded.org
> Envoyé: Mercredi 29 Avril 2015 16:27:18
> Objet: Re: [oe] [meta-qt5][PATCH] qmake5_base.bbclass: fix typo
> 
> On Tue, Apr 28, 2015 at 04:12:27PM +0200, Alexis Cellier wrote:
> > In the qt.conf file created, fix typo on "TargetSpec" (was
> > "TartgetSpec").
> 
> How was this tested before sending?

Oh sorry, I've missed that I've also had a change in the file
qtbase.inc:
 # qtbase is exception, we need to use mkspecs from ${S}
-QMAKE_MKSPEC_PATH = "${B}"
+QMAKE_MKSPEC_PATH = "${S}"

You want me to make a second patch or a new patch (or nothing)?

> In my builds it causes:
> | Cannot read
> | /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.4.1+gitAUTOINC+f58e882b75-r0/build/mkspecs/linux-oe-g++/qmake.conf:
> | No such file or directory
> | Could not read qmake configuration file
> | /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.4.1+gitAUTOINC+f58e882b75-r0/build/mkspecs/linux-oe-g++/qmake.conf.
> 
> So I agree it's a typo, but if we cannot make it work, then we should
> remove the line completely.

It is needed for qmake project that does not used qt (it's how
I found the typo). About this, it seems that when you don't
install qtbase, you don't have the mkspecs in the libdir, so 
you need to override the mkspecs path by the native mkspecs
path, as you only have built qtbase-native (added by
qmake5.bbclass). But I should open another thread for this,
when I'll be sure about this.

> > 
> > Signed-off-by: Alexis Cellier <alexis.cellier at openwide.fr>
> > ---
> >  classes/qmake5_base.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/classes/qmake5_base.bbclass
> > b/classes/qmake5_base.bbclass
> > index 44575c4..dbdaf78 100644
> > --- a/classes/qmake5_base.bbclass
> > +++ b/classes/qmake5_base.bbclass
> > @@ -79,7 +79,7 @@ HostBinaries = ${OE_QMAKE_PATH_HOST_BINS}
> >  HostData = ${OE_QMAKE_PATH_HOST_DATA}
> >  HostLibraries = ${OE_QMAKE_PATH_HOST_LIBS}
> >  HostSpec = ${OE_QMAKESPEC}
> > -TartgetSpec = ${OE_XQMAKESPEC}
> > +TargetSpec = ${OE_XQMAKESPEC}
> >  ExternalHostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
> >  Sysroot = ${STAGING_DIR_TARGET}
> >  EOF
> > --
> > 2.3.5
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 

-- 
Alexis Cellier
OpenWide Ingénierie



More information about the Openembedded-devel mailing list