* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-17 18:06 [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools Franklin S. Cooper Jr
@ 2013-11-17 17:07 ` Cooper Jr., Franklin
2013-11-18 18:32 ` Denys Dmytriyenko
1 sibling, 0 replies; 8+ messages in thread
From: Cooper Jr., Franklin @ 2013-11-17 17:07 UTC (permalink / raw)
To: meta-arago@arago-project.org
This patch is based on the 6 patches Denys submitted earlier.
> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Sunday, November 17, 2013 12:07 PM
> To: meta-arago@arago-project.org
> Cc: Cooper Jr., Franklin
> Subject: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
>
> * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin instead
> of the proper location i686-arago-linux/usr/bin/qt5.
> * Update qmake.conf to insure qmake looks at the proper location for host
> binaries.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> index e3bf80f..6220578 100644
> --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
>
> require meta-toolchain-arago.bb
>
> -PR = "r16"
> +PR = "r17"
>
> # There could be qt5, qt4e and qt4x11 providers, but we don't support qt4x11
> for now QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5',
> 'qtopia', d)}"
> @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
>
> + if [ "${QT_PROVIDER}" = "qt5" ]
> + then
> + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> + fi
> +
> +
> # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> # and QTCreator
> (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> --
> 1.7.0.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
@ 2013-11-17 18:06 Franklin S. Cooper Jr
2013-11-17 17:07 ` Cooper Jr., Franklin
2013-11-18 18:32 ` Denys Dmytriyenko
0 siblings, 2 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2013-11-17 18:06 UTC (permalink / raw)
To: meta-arago; +Cc: Franklin S. Cooper Jr
* By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin instead
of the proper location i686-arago-linux/usr/bin/qt5.
* Update qmake.conf to insure qmake looks at the proper location for host
binaries.
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
.../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
index e3bf80f..6220578 100644
--- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
+++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
@@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
require meta-toolchain-arago.bb
-PR = "r16"
+PR = "r17"
# There could be qt5, qt4e and qt4x11 providers, but we don't support qt4x11 for now
QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia', d)}"
@@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
+ if [ "${QT_PROVIDER}" = "qt5" ]
+ then
+ echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
+ fi
+
+
# make a symbolic link to mkspecs for compatibility with Nokia's SDK
# and QTCreator
(cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-17 18:06 [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools Franklin S. Cooper Jr
2013-11-17 17:07 ` Cooper Jr., Franklin
@ 2013-11-18 18:32 ` Denys Dmytriyenko
2013-11-18 18:41 ` Cooper Jr., Franklin
1 sibling, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2013-11-18 18:32 UTC (permalink / raw)
To: Franklin S. Cooper Jr; +Cc: meta-arago
On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr wrote:
> * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin instead
> of the proper location i686-arago-linux/usr/bin/qt5.
> * Update qmake.conf to insure qmake looks at the proper location for host
> binaries.
What is this needed for exactly? I hadn't had any issues using qmake and
command-line build with the v3 of the patches. Is it specific to QtCreator?
--
Denys
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> index e3bf80f..6220578 100644
> --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
>
> require meta-toolchain-arago.bb
>
> -PR = "r16"
> +PR = "r17"
>
> # There could be qt5, qt4e and qt4x11 providers, but we don't support qt4x11 for now
> QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia', d)}"
> @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
>
> + if [ "${QT_PROVIDER}" = "qt5" ]
> + then
> + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> + fi
> +
> +
> # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> # and QTCreator
> (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> --
> 1.7.0.4
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-18 18:32 ` Denys Dmytriyenko
@ 2013-11-18 18:41 ` Cooper Jr., Franklin
2013-11-18 21:20 ` Denys Dmytriyenko
0 siblings, 1 reply; 8+ messages in thread
From: Cooper Jr., Franklin @ 2013-11-18 18:41 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Monday, November 18, 2013 12:33 PM
> To: Cooper Jr., Franklin
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix location for
> host Qt tools
>
> On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr wrote:
> > * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin
> instead
> > of the proper location i686-arago-linux/usr/bin/qt5.
> > * Update qmake.conf to insure qmake looks at the proper location for host
> > binaries.
>
> What is this needed for exactly? I hadn't had any issues using qmake and
> command-line build with the v3 of the patches. Is it specific to QtCreator?
[Franklin] Building via command line. Some reason qmake thinks moc is located at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin which resulted in a file not found error. Im not sure when moc is needed but when I tried to build the thermostat demo from src I ran into this issue.
>
> --
> Denys
>
>
> > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > ---
> > .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> > 1 files changed, 7 insertions(+), 1 deletions(-)
> >
> > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > index e3bf80f..6220578 100644
> > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
> >
> > require meta-toolchain-arago.bb
> >
> > -PR = "r16"
> > +PR = "r17"
> >
> > # There could be qt5, qt4e and qt4x11 providers, but we don't support
> qt4x11 for now
> > QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia',
> d)}"
> > @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> > echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> > echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
> >
> > + if [ "${QT_PROVIDER}" = "qt5" ]
> > + then
> > + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> > + fi
> > +
> > +
> > # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> > # and QTCreator
> > (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-18 18:41 ` Cooper Jr., Franklin
@ 2013-11-18 21:20 ` Denys Dmytriyenko
2013-11-21 4:43 ` Denys Dmytriyenko
0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2013-11-18 21:20 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org
On Mon, Nov 18, 2013 at 01:41:00PM -0500, Cooper Jr., Franklin wrote:
>
>
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Monday, November 18, 2013 12:33 PM
> > To: Cooper Jr., Franklin
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix location for
> > host Qt tools
> >
> > On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr wrote:
> > > * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin
> > instead
> > > of the proper location i686-arago-linux/usr/bin/qt5.
> > > * Update qmake.conf to insure qmake looks at the proper location for host
> > > binaries.
> >
> > What is this needed for exactly? I hadn't had any issues using qmake and
> > command-line build with the v3 of the patches. Is it specific to QtCreator?
> [Franklin] Building via command line. Some reason qmake thinks moc is
> located at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin which resulted in a file
> not found error. Im not sure when moc is needed but when I tried to build
> the thermostat demo from src I ran into this issue.
I'm looking into this now and playing with the idea of packaging qt.conf that
gets created during the nativesdk build. Although that one maybe an overkill.
If that doesn't work, I'll push an updated version of this patch...
--
Denys
> > > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > > ---
> > > .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> > > 1 files changed, 7 insertions(+), 1 deletions(-)
> > >
> > > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > index e3bf80f..6220578 100644
> > > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
> > >
> > > require meta-toolchain-arago.bb
> > >
> > > -PR = "r16"
> > > +PR = "r17"
> > >
> > > # There could be qt5, qt4e and qt4x11 providers, but we don't support
> > qt4x11 for now
> > > QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia',
> > d)}"
> > > @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> > > echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> > > echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
> > >
> > > + if [ "${QT_PROVIDER}" = "qt5" ]
> > > + then
> > > + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> > > + fi
> > > +
> > > +
> > > # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> > > # and QTCreator
> > > (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> > .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> > > --
> > > 1.7.0.4
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-18 21:20 ` Denys Dmytriyenko
@ 2013-11-21 4:43 ` Denys Dmytriyenko
2013-11-21 17:47 ` Denys Dmytriyenko
0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2013-11-21 4:43 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org
On Mon, Nov 18, 2013 at 04:20:14PM -0500, Denys Dmytriyenko wrote:
> On Mon, Nov 18, 2013 at 01:41:00PM -0500, Cooper Jr., Franklin wrote:
> >
> >
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Monday, November 18, 2013 12:33 PM
> > > To: Cooper Jr., Franklin
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix location for
> > > host Qt tools
> > >
> > > On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr wrote:
> > > > * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin
> > > instead
> > > > of the proper location i686-arago-linux/usr/bin/qt5.
> > > > * Update qmake.conf to insure qmake looks at the proper location for host
> > > > binaries.
> > >
> > > What is this needed for exactly? I hadn't had any issues using qmake and
> > > command-line build with the v3 of the patches. Is it specific to QtCreator?
>
> > [Franklin] Building via command line. Some reason qmake thinks moc is
> > located at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin which resulted in a file
> > not found error. Im not sure when moc is needed but when I tried to build
> > the thermostat demo from src I ran into this issue.
>
> I'm looking into this now and playing with the idea of packaging qt.conf that
> gets created during the nativesdk build. Although that one maybe an overkill.
> If that doesn't work, I'll push an updated version of this patch...
Sorry, took me a bit longer due to some extra testing, but it appears I can't
re-use the generated qt.conf in this Canadian cross-compilation when 3 archs
are involved - config file for A->B cross is different from B->C. I just sent
the updated patch that sets couple host variables in qt.conf inside SDK, that
should cover most of other cases.
--
Denys
> > > > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > > > ---
> > > > .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> > > > 1 files changed, 7 insertions(+), 1 deletions(-)
> > > >
> > > > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > index e3bf80f..6220578 100644
> > > > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
> > > >
> > > > require meta-toolchain-arago.bb
> > > >
> > > > -PR = "r16"
> > > > +PR = "r17"
> > > >
> > > > # There could be qt5, qt4e and qt4x11 providers, but we don't support
> > > qt4x11 for now
> > > > QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia',
> > > d)}"
> > > > @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> > > > echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> > > > echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
> > > >
> > > > + if [ "${QT_PROVIDER}" = "qt5" ]
> > > > + then
> > > > + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> > > > + fi
> > > > +
> > > > +
> > > > # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> > > > # and QTCreator
> > > > (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> > > .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> > > > --
> > > > 1.7.0.4
> > > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-21 4:43 ` Denys Dmytriyenko
@ 2013-11-21 17:47 ` Denys Dmytriyenko
2013-11-21 18:20 ` Cooper Jr., Franklin
0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2013-11-21 17:47 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org
On Wed, Nov 20, 2013 at 11:43:56PM -0500, Denys Dmytriyenko wrote:
> On Mon, Nov 18, 2013 at 04:20:14PM -0500, Denys Dmytriyenko wrote:
> > On Mon, Nov 18, 2013 at 01:41:00PM -0500, Cooper Jr., Franklin wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: Dmytriyenko, Denys
> > > > Sent: Monday, November 18, 2013 12:33 PM
> > > > To: Cooper Jr., Franklin
> > > > Cc: meta-arago@arago-project.org
> > > > Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix location for
> > > > host Qt tools
> > > >
> > > > On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr wrote:
> > > > > * By default Qt5 is looking at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin
> > > > instead
> > > > > of the proper location i686-arago-linux/usr/bin/qt5.
> > > > > * Update qmake.conf to insure qmake looks at the proper location for host
> > > > > binaries.
> > > >
> > > > What is this needed for exactly? I hadn't had any issues using qmake and
> > > > command-line build with the v3 of the patches. Is it specific to QtCreator?
> >
> > > [Franklin] Building via command line. Some reason qmake thinks moc is
> > > located at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin which resulted in a file
> > > not found error. Im not sure when moc is needed but when I tried to build
> > > the thermostat demo from src I ran into this issue.
> >
> > I'm looking into this now and playing with the idea of packaging qt.conf that
> > gets created during the nativesdk build. Although that one maybe an overkill.
> > If that doesn't work, I'll push an updated version of this patch...
>
> Sorry, took me a bit longer due to some extra testing, but it appears I can't
> re-use the generated qt.conf in this Canadian cross-compilation when 3 archs
> are involved - config file for A->B cross is different from B->C. I just sent
> the updated patch that sets couple host variables in qt.conf inside SDK, that
> should cover most of other cases.
Franklin,
Have you been able to do any tests with the updated patch I sent last night?
If it works for you, I'd like to push it along with the initial Qt5 SDK
patches to meta-arago/master.
--
Denys
> > > > > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > > > > ---
> > > > > .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> > > > > 1 files changed, 7 insertions(+), 1 deletions(-)
> > > > >
> > > > > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > > index e3bf80f..6220578 100644
> > > > > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > > @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
> > > > >
> > > > > require meta-toolchain-arago.bb
> > > > >
> > > > > -PR = "r16"
> > > > > +PR = "r17"
> > > > >
> > > > > # There could be qt5, qt4e and qt4x11 providers, but we don't support
> > > > qt4x11 for now
> > > > > QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia',
> > > > d)}"
> > > > > @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> > > > > echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> > > > > echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
> > > > >
> > > > > + if [ "${QT_PROVIDER}" = "qt5" ]
> > > > > + then
> > > > > + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >> $qt_conf
> > > > > + fi
> > > > > +
> > > > > +
> > > > > # make a symbolic link to mkspecs for compatibility with Nokia's SDK
> > > > > # and QTCreator
> > > > > (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> > > > .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> > > > > --
> > > > > 1.7.0.4
> > > > >
> > > > > _______________________________________________
> > > > > meta-arago mailing list
> > > > > meta-arago@arago-project.org
> > > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools
2013-11-21 17:47 ` Denys Dmytriyenko
@ 2013-11-21 18:20 ` Cooper Jr., Franklin
0 siblings, 0 replies; 8+ messages in thread
From: Cooper Jr., Franklin @ 2013-11-21 18:20 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, November 21, 2013 11:48 AM
> To: Cooper Jr., Franklin
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix location for
> host Qt tools
>
> On Wed, Nov 20, 2013 at 11:43:56PM -0500, Denys Dmytriyenko wrote:
> > On Mon, Nov 18, 2013 at 04:20:14PM -0500, Denys Dmytriyenko wrote:
> > > On Mon, Nov 18, 2013 at 01:41:00PM -0500, Cooper Jr., Franklin wrote:
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Dmytriyenko, Denys
> > > > > Sent: Monday, November 18, 2013 12:33 PM
> > > > > To: Cooper Jr., Franklin
> > > > > Cc: meta-arago@arago-project.org
> > > > > Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago-qte: Fix
> > > > > location for host Qt tools
> > > > >
> > > > > On Sun, Nov 17, 2013 at 12:06:53PM -0600, Franklin S. Cooper Jr
> wrote:
> > > > > > * By default Qt5 is looking at
> > > > > > cortexa8hf-vfp-neon-oe-linux-gnueabi/bin
> > > > > instead
> > > > > > of the proper location i686-arago-linux/usr/bin/qt5.
> > > > > > * Update qmake.conf to insure qmake looks at the proper location for
> host
> > > > > > binaries.
> > > > >
> > > > > What is this needed for exactly? I hadn't had any issues using
> > > > > qmake and command-line build with the v3 of the patches. Is it specific
> to QtCreator?
> > >
> > > > [Franklin] Building via command line. Some reason qmake thinks moc
> > > > is located at cortexa8hf-vfp-neon-oe-linux-gnueabi/bin which
> > > > resulted in a file not found error. Im not sure when moc is needed
> > > > but when I tried to build the thermostat demo from src I ran into this issue.
> > >
> > > I'm looking into this now and playing with the idea of packaging
> > > qt.conf that gets created during the nativesdk build. Although that one
> maybe an overkill.
> > > If that doesn't work, I'll push an updated version of this patch...
> >
> > Sorry, took me a bit longer due to some extra testing, but it appears
> > I can't re-use the generated qt.conf in this Canadian
> > cross-compilation when 3 archs are involved - config file for A->B
> > cross is different from B->C. I just sent the updated patch that sets
> > couple host variables in qt.conf inside SDK, that should cover most of other
> cases.
>
> Franklin,
>
> Have you been able to do any tests with the updated patch I sent last night?
> If it works for you, I'd like to push it along with the initial Qt5 SDK patches to
> meta-arago/master.
[Franklin] Haven't had a chance yet but I'll test it out by Monday.
>
> --
> Denys
>
>
> > > > > > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > > > > > ---
> > > > > > .../recipes-core/meta/meta-toolchain-arago-qte.bb | 8 +++++++-
> > > > > > 1 files changed, 7 insertions(+), 1 deletions(-)
> > > > > >
> > > > > > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-
> arago-qte.bb
> > > > > b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
> > > > > > index e3bf80f..6220578 100644
> > > > > > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-
> qte.bb
> > > > > > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-
> qte.bb
> > > > > > @@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
> > > > > >
> > > > > > require meta-toolchain-arago.bb
> > > > > >
> > > > > > -PR = "r16"
> > > > > > +PR = "r17"
> > > > > >
> > > > > > # There could be qt5, qt4e and qt4x11 providers, but we don't
> support
> > > > > qt4x11 for now
> > > > > > QT_DIR_NAME = "${@base_conditional('QT_PROVIDER', 'qt5', 'qt5',
> 'qtopia',
> > > > > d)}"
> > > > > > @@ -46,6 +46,12 @@ toolchain_create_sdk_env_script_append() {
> > > > > > echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
> > > > > > echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
> > > > > >
> > > > > > + if [ "${QT_PROVIDER}" = "qt5" ]
> > > > > > + then
> > > > > > + echo 'HostBinaries = ../${SDK_SYS}/usr/bin/qt5' >>
> $qt_conf
> > > > > > + fi
> > > > > > +
> > > > > > +
> > > > > > # make a symbolic link to mkspecs for compatibility with
> Nokia's SDK
> > > > > > # and QTCreator
> > > > > > (cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; ln -sf
> > > > > .${QT_MKSPECS_LOCATION}/${QT_DIR_NAME}/mkspecs mkspecs;)
> > > > > > --
> > > > > > 1.7.0.4
> > > > > >
> > > > > > _______________________________________________
> > > > > > meta-arago mailing list
> > > > > > meta-arago@arago-project.org
> > > > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-11-21 18:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 18:06 [PATCH] meta-toolchain-arago-qte: Fix location for host Qt tools Franklin S. Cooper Jr
2013-11-17 17:07 ` Cooper Jr., Franklin
2013-11-18 18:32 ` Denys Dmytriyenko
2013-11-18 18:41 ` Cooper Jr., Franklin
2013-11-18 21:20 ` Denys Dmytriyenko
2013-11-21 4:43 ` Denys Dmytriyenko
2013-11-21 17:47 ` Denys Dmytriyenko
2013-11-21 18:20 ` Cooper Jr., Franklin
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.