* [meta-qt5][PATCH] qmake5_base.bbclass: fix typo
[not found] <1620830615.3767281.1430230294080.JavaMail.root@openwide.fr>
@ 2015-04-28 14:12 ` Alexis Cellier
2015-04-29 14:27 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Alexis Cellier @ 2015-04-28 14:12 UTC (permalink / raw)
To: openembedded-devel
In the qt.conf file created, fix typo on "TargetSpec" (was "TartgetSpec").
Signed-off-by: Alexis Cellier <alexis.cellier@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-qt5][PATCH] qmake5_base.bbclass: fix typo
2015-04-28 14:12 ` [meta-qt5][PATCH] qmake5_base.bbclass: fix typo Alexis Cellier
@ 2015-04-29 14:27 ` Martin Jansa
2015-04-29 16:34 ` Alexis Cellier
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2015-04-29 14:27 UTC (permalink / raw)
To: openembedded-devel
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?
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.
>
> Signed-off-by: Alexis Cellier <alexis.cellier@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-qt5][PATCH] qmake5_base.bbclass: fix typo
2015-04-29 14:27 ` Martin Jansa
@ 2015-04-29 16:34 ` Alexis Cellier
2015-04-29 17:21 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Alexis Cellier @ 2015-04-29 16:34 UTC (permalink / raw)
To: openembedded-devel
----- Mail original -----
> De: "Martin Jansa" <martin.jansa@gmail.com>
> À: openembedded-devel@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@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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
--
Alexis Cellier
OpenWide Ingénierie
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-qt5][PATCH] qmake5_base.bbclass: fix typo
2015-04-29 16:34 ` Alexis Cellier
@ 2015-04-29 17:21 ` Martin Jansa
0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2015-04-29 17:21 UTC (permalink / raw)
To: openembedded-devel
On Wed, Apr 29, 2015 at 06:34:37PM +0200, Alexis Cellier wrote:
>
>
> ----- Mail original -----
> > De: "Martin Jansa" <martin.jansa@gmail.com>
> > À: openembedded-devel@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)?
nothing, I'll amend your patch with this change before sending it for
another round of jenkins builds, thanks
Does the same apply for nativesdk-qtbase.inc?
>
> > 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@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@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> > --
> > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
>
> --
> Alexis Cellier
> OpenWide Ingénierie
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-29 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1620830615.3767281.1430230294080.JavaMail.root@openwide.fr>
2015-04-28 14:12 ` [meta-qt5][PATCH] qmake5_base.bbclass: fix typo Alexis Cellier
2015-04-29 14:27 ` Martin Jansa
2015-04-29 16:34 ` Alexis Cellier
2015-04-29 17:21 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.