All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-toolchain-qt with Qt Creator
@ 2013-10-04 12:45 Diego Sueiro
  2013-10-04 14:18 ` Jose Mª Ferreiro
  0 siblings, 1 reply; 9+ messages in thread
From: Diego Sueiro @ 2013-10-04 12:45 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]

Folks,

After a lots of internet search, including this ML threads, i did not find
any solution for this.

I'm having issues to integrate meta-toolchain-qt and meta-toolchain-qte
with Qt Creator 2.8.1.
I'm using this environment:

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.2"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
meta-ti           = "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"


When I configure the qmake path on Qt Creator I get the following message:

"Qt version is not properly installed please run make install"


I've tried on dylan branch too, but no success.

So, I tried to use Angstrom's setup-scripts on angstrom-v2013.06-yocto1.4
branch. And it came with the issue related with "error while loading shared
libraries: __vdso_time: invalid mode for dlopen(): Invalid argument". So, I
switched to Fedora 19 and it has gone, but the invalid Qt version problem
remains.

I tried, without success, to compile by myself the
qt-everywhere-opensource-src-4.8
these toolchains:

angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
poky-eglibc-x86_64-arm-toolchain-qte-1.4.2


If someone could successfully use meta-toolchain-qte with Qt Creator,
please point me the right directions to achieve this.

I really need some help to get a qt4-embedded toolchain working.

Kind Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/

[-- Attachment #2: Type: text/html, Size: 4177 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 12:45 meta-toolchain-qt with Qt Creator Diego Sueiro
@ 2013-10-04 14:18 ` Jose Mª Ferreiro
  2013-10-04 14:30   ` Diego Sueiro
  0 siblings, 1 reply; 9+ messages in thread
From: Jose Mª Ferreiro @ 2013-10-04 14:18 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

Hello Diego

We have had success doing a mix from these documents:
  - install host qt libraries: 
http://qt-project.org/doc/qt-4.8/install-x11.html
  - install host qt creator: 
http://labs.isee.biz/index.php/How_to_install_Qt_Creator#Configure_Yocto_SDK
  - yocto steps: https://community.freescale.com/thread/309578 ,

on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.

Good luck


El 04/10/2013 14:45, Diego Sueiro escribió:
> Folks,
>
> After a lots of internet search, including this ML threads, i did not 
> find any solution for this.
>
> I'm having issues to integrate meta-toolchain-qt 
> and meta-toolchain-qte with Qt Creator 2.8.1.
> I'm using this environment:
>
>     Build Configuration:
>     BB_VERSION        = "1.18.0"
>     BUILD_SYS         = "x86_64-linux"
>     NATIVELSBSTRING   = "Ubuntu-12.10"
>     TARGET_SYS        = "arm-poky-linux-gnueabi"
>     MACHINE           = "beaglebone"
>     DISTRO            = "poky"
>     DISTRO_VERSION    = "1.4.2"
>     TUNE_FEATURES     = "armv7a vfp neon"
>     TARGET_FPU        = "vfp-neon"
>     meta
>     meta-yocto
>     meta-yocto-bsp    = "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
>     meta-ti           = "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
>
>
> When I configure the qmake path on Qt Creator I get the following message:
>
>     "Qt version is not properly installed please run make install"
>
>
> I've tried on dylan branch too, but no success.
>
> So, I tried to use Angstrom's setup-scripts 
> on angstrom-v2013.06-yocto1.4 branch. And it came with the issue 
> related with "error while loading shared libraries: __vdso_time: 
> invalid mode for dlopen(): Invalid argument". So, I switched to Fedora 
> 19 and it has gone, but the invalid Qt version problem remains.
>
> I tried, without success, to compile by myself the 
> qt-everywhere-opensource-src-4.8 these toolchains:
>
>     angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>     poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
>
>
> If someone could successfully use meta-toolchain-qte with Qt Creator, 
> please point me the right directions to achieve this.
>
> I really need some help to get a qt4-embedded toolchain working.
>
> Kind Regards,
>
> --
> *dS
> Diego Sueiro
>
> /*long live rock 'n roll*/
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Type: text/html, Size: 7315 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 14:18 ` Jose Mª Ferreiro
@ 2013-10-04 14:30   ` Diego Sueiro
  2013-10-04 14:36     ` Jose Mª Ferreiro
  0 siblings, 1 reply; 9+ messages in thread
From: Diego Sueiro @ 2013-10-04 14:30 UTC (permalink / raw)
  To: Jose Mª Ferreiro; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]

2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>

>  Hello Diego
>
> We have had success doing a mix from these documents:
>  - install host qt libraries:
> http://qt-project.org/doc/qt-4.8/install-x11.html
>  - install host qt creator:
> http://labs.isee.biz/index.php/How_to_install_Qt_Creator#Configure_Yocto_SDK
>  - yocto steps: https://community.freescale.com/thread/309578 ,
>
> on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.
>
> Good luck
>

Jose,

Thanks for the info.

Which poky branch/version are you using?
Did you use the meta-toolchain from poky or the arm gcc from Ubuntu?

Regards,

--
*dS
Diego Sueiro



>
>
> El 04/10/2013 14:45, Diego Sueiro escribió:
>
> Folks,
>
>  After a lots of internet search, including this ML threads, i did not
> find any solution for this.
>
>  I'm having issues to integrate meta-toolchain-qt and meta-toolchain-qte
> with Qt Creator 2.8.1.
> I'm using this environment:
>
>  Build Configuration:
> BB_VERSION        = "1.18.0"
>  BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-12.10"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "beaglebone"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4.2"
> TUNE_FEATURES     = "armv7a vfp neon"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp    = "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
> meta-ti           = "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
>
>
>  When I configure the qmake path on Qt Creator I get the following
> message:
>
> "Qt version is not properly installed please run make install"
>
>
>  I've tried on dylan branch too, but no success.
>
>  So, I tried to use Angstrom's setup-scripts
> on angstrom-v2013.06-yocto1.4 branch. And it came with the issue related
> with "error while loading shared libraries: __vdso_time: invalid mode for
> dlopen(): Invalid argument". So, I switched to Fedora 19 and it has gone,
> but the invalid Qt version problem remains.
>
>  I tried, without success, to compile by myself the qt-everywhere-opensource-src-4.8
> these toolchains:
>
> angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>  poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
>
>
>  If someone could successfully use meta-toolchain-qte with Qt Creator,
> please point me the right directions to achieve this.
>
>  I really need some help to get a qt4-embedded toolchain working.
>
>  Kind Regards,
>
>  --
> *dS
> Diego Sueiro
>
> /*long live rock 'n roll*/
>
>
> _______________________________________________
> yocto mailing listyocto@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 7820 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 14:30   ` Diego Sueiro
@ 2013-10-04 14:36     ` Jose Mª Ferreiro
  2013-10-04 18:32       ` Diego Sueiro
  0 siblings, 1 reply; 9+ messages in thread
From: Jose Mª Ferreiro @ 2013-10-04 14:36 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3524 bytes --]


El 04/10/2013 16:30, Diego Sueiro escribió:
> 2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es 
> <mailto:jose.ferreiro@horus.es>>
>
>     Hello Diego
>
>     We have had success doing a mix from these documents:
>      - install host qt libraries:
>     http://qt-project.org/doc/qt-4.8/install-x11.html
>      - install host qt creator:
>     http://labs.isee.biz/index.php/How_to_install_Qt_Creator#Configure_Yocto_SDK
>      - yocto steps: https://community.freescale.com/thread/309578 ,
>
>     on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.
>
>     Good luck
>
>
> Jose,
>
> Thanks for the info.
>
> Which poky branch/version are you using?
> Did you use the meta-toolchain from poky or the arm gcc from Ubuntu?

Hello

Yocto dylan+ meta-toolchain-qt as Joerg's document says.

Best regards

> Regards,
>
> --
> *dS
> Diego Sueiro
>
>
>
>     El 04/10/2013 14:45, Diego Sueiro escribió:
>>     Folks,
>>
>>     After a lots of internet search, including this ML threads, i did
>>     not find any solution for this.
>>
>>     I'm having issues to integrate meta-toolchain-qt
>>     and meta-toolchain-qte with Qt Creator 2.8.1.
>>     I'm using this environment:
>>
>>         Build Configuration:
>>         BB_VERSION        = "1.18.0"
>>         BUILD_SYS         = "x86_64-linux"
>>         NATIVELSBSTRING   = "Ubuntu-12.10"
>>         TARGET_SYS        = "arm-poky-linux-gnueabi"
>>         MACHINE           = "beaglebone"
>>         DISTRO            = "poky"
>>         DISTRO_VERSION    = "1.4.2"
>>         TUNE_FEATURES     = "armv7a vfp neon"
>>         TARGET_FPU        = "vfp-neon"
>>         meta
>>         meta-yocto
>>         meta-yocto-bsp    =
>>         "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
>>         meta-ti           =
>>         "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
>>
>>
>>     When I configure the qmake path on Qt Creator I get the following
>>     message:
>>
>>         "Qt version is not properly installed please run make install"
>>
>>
>>     I've tried on dylan branch too, but no success.
>>
>>     So, I tried to use Angstrom's setup-scripts
>>     on angstrom-v2013.06-yocto1.4 branch. And it came with the issue
>>     related with "error while loading shared libraries: __vdso_time:
>>     invalid mode for dlopen(): Invalid argument". So, I switched to
>>     Fedora 19 and it has gone, but the invalid Qt version problem
>>     remains.
>>
>>     I tried, without success, to compile by myself the
>>     qt-everywhere-opensource-src-4.8 these toolchains:
>>
>>         angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>>         poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
>>
>>
>>     If someone could successfully use meta-toolchain-qte with Qt
>>     Creator, please point me the right directions to achieve this.
>>
>>     I really need some help to get a qt4-embedded toolchain working.
>>
>>     Kind Regards,
>>
>>     --
>>     *dS
>>     Diego Sueiro
>>
>>     /*long live rock 'n roll*/
>>
>>
>>     _______________________________________________
>>     yocto mailing list
>>     yocto@yoctoproject.org  <mailto:yocto@yoctoproject.org>
>>     https://lists.yoctoproject.org/listinfo/yocto
>
>
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>
>


[-- Attachment #2: Type: text/html, Size: 12278 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 14:36     ` Jose Mª Ferreiro
@ 2013-10-04 18:32       ` Diego Sueiro
  2013-10-04 20:26         ` Diego Sueiro
  0 siblings, 1 reply; 9+ messages in thread
From: Diego Sueiro @ 2013-10-04 18:32 UTC (permalink / raw)
  To: Jose Mª Ferreiro; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3823 bytes --]

>
> Hello
> Yocto dylan+ meta-toolchain-qt as Joerg's document says.
> Best regards


Jose,

I'm a little bit confused.
Did you compiled qt-everywhere-opensource-src-4.8.4 for your host machine
and added it's qmake to Qt creator?
Then add yocto sysroot, gdb and gcc to Qt creator?
Could you please pont me step-by-step how did you get it working?

If add Yocto's qmake toolchain on Qt Creator I get the version error.

DIego Sueiro

2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>

>
> El 04/10/2013 16:30, Diego Sueiro escribió:
>
> 2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>
>
>>  Hello Diego
>>
>> We have had success doing a mix from these documents:
>>  - install host qt libraries:
>> http://qt-project.org/doc/qt-4.8/install-x11.html
>>  - install host qt creator:
>> http://labs.isee.biz/index.php/How_to_install_Qt_Creator#Configure_Yocto_SDK
>>  - yocto steps: https://community.freescale.com/thread/309578 ,
>>
>> on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.
>>
>> Good luck
>>
>
>  Jose,
>
>  Thanks for the info.
>
>  Which poky branch/version are you using?
>  Did you use the meta-toolchain from poky or the arm gcc from Ubuntu?
>
>
> Hello
>
> Yocto dylan+ meta-toolchain-qt as Joerg's document says.
>
> Best regards
>
>     Regards,
>
>  --
> *dS
> Diego Sueiro
>
>
>
>>
>>
>> El 04/10/2013 14:45, Diego Sueiro escribió:
>>
>>  Folks,
>>
>>  After a lots of internet search, including this ML threads, i did not
>> find any solution for this.
>>
>>  I'm having issues to integrate meta-toolchain-qt and meta-toolchain-qte
>> with Qt Creator 2.8.1.
>> I'm using this environment:
>>
>>  Build Configuration:
>> BB_VERSION        = "1.18.0"
>>  BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "Ubuntu-12.10"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "beaglebone"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.4.2"
>> TUNE_FEATURES     = "armv7a vfp neon"
>> TARGET_FPU        = "vfp-neon"
>> meta
>> meta-yocto
>> meta-yocto-bsp    = "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
>> meta-ti           = "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
>>
>>
>>  When I configure the qmake path on Qt Creator I get the following
>> message:
>>
>> "Qt version is not properly installed please run make install"
>>
>>
>>  I've tried on dylan branch too, but no success.
>>
>>  So, I tried to use Angstrom's setup-scripts
>> on angstrom-v2013.06-yocto1.4 branch. And it came with the issue related
>> with "error while loading shared libraries: __vdso_time: invalid mode
>> for dlopen(): Invalid argument". So, I switched to Fedora 19 and it has
>> gone, but the invalid Qt version problem remains.
>>
>>  I tried, without success, to compile by myself the qt-everywhere-opensource-src-4.8
>> these toolchains:
>>
>> angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>>  poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
>>
>>
>>  If someone could successfully use meta-toolchain-qte with Qt Creator,
>> please point me the right directions to achieve this.
>>
>>  I really need some help to get a qt4-embedded toolchain working.
>>
>>  Kind Regards,
>>
>>  --
>> *dS
>> Diego Sueiro
>>
>> /*long live rock 'n roll*/
>>
>>
>>  _______________________________________________
>> yocto mailing listyocto@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 12893 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 18:32       ` Diego Sueiro
@ 2013-10-04 20:26         ` Diego Sueiro
  2013-10-07  7:05           ` Laurentiu Palcu
  0 siblings, 1 reply; 9+ messages in thread
From: Diego Sueiro @ 2013-10-04 20:26 UTC (permalink / raw)
  To: Jose Mª Ferreiro; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4920 bytes --]

Folks,

I've found the issue.
I was installing the poky toolchain outside the default path
(/opt/opky/1.4.2).
After installing on default path, Qt creator was enable to find the right
QT version. I compiled an example and loaded it on board without any issues.

I discovered it before seeing an warning message from Qt creator saying
that it could not find the qmake.conf on
/opt/opky/1.4.2/<...>/usr/mkspec/default/qmake.conf.

Lesson learned: don't change the default toolchain insatallation path,
otherwise something will not work properly.

Can someone explain this behavior? Since you can choose a path to install
the toolchain it must have to work out of the box.







Abraços,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br

Engenheiro de Controle e Automação
UNIVERSIDADE FEDERAL DE ITAJUBÀ

/*long live rock 'n roll*/


2013/10/4 Diego Sueiro <diego.sueiro@gmail.com>

> Hello
>> Yocto dylan+ meta-toolchain-qt as Joerg's document says.
>> Best regards
>
>
> Jose,
>
> I'm a little bit confused.
> Did you compiled qt-everywhere-opensource-src-4.8.4 for your host machine
> and added it's qmake to Qt creator?
> Then add yocto sysroot, gdb and gcc to Qt creator?
> Could you please pont me step-by-step how did you get it working?
>
> If add Yocto's qmake toolchain on Qt Creator I get the version error.
>
> DIego Sueiro
>
> 2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>
>
>>
>> El 04/10/2013 16:30, Diego Sueiro escribió:
>>
>> 2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>
>>
>>>  Hello Diego
>>>
>>> We have had success doing a mix from these documents:
>>>  - install host qt libraries:
>>> http://qt-project.org/doc/qt-4.8/install-x11.html
>>>  - install host qt creator:
>>> http://labs.isee.biz/index.php/How_to_install_Qt_Creator#Configure_Yocto_SDK
>>>  - yocto steps: https://community.freescale.com/thread/309578 ,
>>>
>>> on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.
>>>
>>> Good luck
>>>
>>
>>  Jose,
>>
>>  Thanks for the info.
>>
>>  Which poky branch/version are you using?
>>  Did you use the meta-toolchain from poky or the arm gcc from Ubuntu?
>>
>>
>> Hello
>>
>> Yocto dylan+ meta-toolchain-qt as Joerg's document says.
>>
>> Best regards
>>
>>     Regards,
>>
>>  --
>> *dS
>> Diego Sueiro
>>
>>
>>
>>>
>>>
>>> El 04/10/2013 14:45, Diego Sueiro escribió:
>>>
>>>  Folks,
>>>
>>>  After a lots of internet search, including this ML threads, i did not
>>> find any solution for this.
>>>
>>>  I'm having issues to integrate meta-toolchain-qt
>>> and meta-toolchain-qte with Qt Creator 2.8.1.
>>> I'm using this environment:
>>>
>>>  Build Configuration:
>>> BB_VERSION        = "1.18.0"
>>>  BUILD_SYS         = "x86_64-linux"
>>> NATIVELSBSTRING   = "Ubuntu-12.10"
>>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>>> MACHINE           = "beaglebone"
>>> DISTRO            = "poky"
>>> DISTRO_VERSION    = "1.4.2"
>>> TUNE_FEATURES     = "armv7a vfp neon"
>>> TARGET_FPU        = "vfp-neon"
>>> meta
>>> meta-yocto
>>> meta-yocto-bsp    = "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
>>> meta-ti           = "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
>>>
>>>
>>>  When I configure the qmake path on Qt Creator I get the following
>>> message:
>>>
>>> "Qt version is not properly installed please run make install"
>>>
>>>
>>>  I've tried on dylan branch too, but no success.
>>>
>>>  So, I tried to use Angstrom's setup-scripts
>>> on angstrom-v2013.06-yocto1.4 branch. And it came with the issue related
>>> with "error while loading shared libraries: __vdso_time: invalid mode
>>> for dlopen(): Invalid argument". So, I switched to Fedora 19 and it has
>>> gone, but the invalid Qt version problem remains.
>>>
>>>  I tried, without success, to compile by myself the qt-everywhere-opensource-src-4.8
>>> these toolchains:
>>>
>>> angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>>>  poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
>>>
>>>
>>>  If someone could successfully use meta-toolchain-qte with Qt Creator,
>>> please point me the right directions to achieve this.
>>>
>>>  I really need some help to get a qt4-embedded toolchain working.
>>>
>>>  Kind Regards,
>>>
>>>  --
>>> *dS
>>> Diego Sueiro
>>>
>>> /*long live rock 'n roll*/
>>>
>>>
>>>  _______________________________________________
>>> yocto mailing listyocto@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 14704 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-04 20:26         ` Diego Sueiro
@ 2013-10-07  7:05           ` Laurentiu Palcu
  2013-10-07 11:18             ` Diego Sueiro
  0 siblings, 1 reply; 9+ messages in thread
From: Laurentiu Palcu @ 2013-10-07  7:05 UTC (permalink / raw)
  To: Diego Sueiro; +Cc: yocto

Hi Diego,

On Fri, Oct 04, 2013 at 05:26:06PM -0300, Diego Sueiro wrote:
> Folks,
> 
> I've found the issue.
> I was installing the poky toolchain outside the default path (/opt/opky/1.4.2).
> After installing on default path, Qt creator was enable to find the right QT
> version. I compiled an example and loaded it on board without any issues.
> 
> I discovered it before seeing an warning message from Qt creator saying that it
> could not find the qmake.conf on /opt/opky/1.4.2/<...>/usr/mkspec/default/
> qmake.conf.
> 
> Lesson learned: don't change the default toolchain insatallation path,
> otherwise something will not work properly.
> 
> Can someone explain this behavior? Since you can choose a path to install the
> toolchain it must have to work out of the box.
It's a little more complicated than that. After building the toolchain,
all binaries have the default absolute path to the dynamic loader
(/opt/poky/...) hardcoded in the elf INTERP section. This is easy to
change. However, other binaries may or may not have other hardcoded
paths to search for different things (like configs, etc.). Most of these
could be easily fixed by providing the binary with an option or setting
an environment variable to instruct it where to find what it needs. Take
for example the gcc --sysroot option. By default gcc will search for the
sysroot in the default location (starting with /opt/poky), but providing
a --sysroot option, we override this default path.

So, even though, for relocation, changing the INTERP section may suffice
for most of the binaries, some may need more tweaking.

A quick search on google brought me to this page:
http://qt-project.org/doc/qt-4.8/qmake-environment-reference.html

It turns out that QMAKESPEC environment variable is what QT creator
looks at to be able to locate qmake.conf. So, perhaps, we need to add
this to the environment file and the problem should be fixed...

Can you please test this?

Thanks,
Laurentiu

> 
> 
> 
> 
> 
> 
> 
> Abraços,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br
> 
> Engenheiro de Controle e Automação
> UNIVERSIDADE FEDERAL DE ITAJUBÀ
> 
> /*long live rock 'n roll*/
> 
> 
> 2013/10/4 Diego Sueiro <diego.sueiro@gmail.com>
> 
>         Hello
>         Yocto dylan+ meta-toolchain-qt as Joerg's document says.
>         Best regards
> 
> 
>     Jose,
> 
>     I'm a little bit confused.
>     Did you compiled qt-everywhere-opensource-src-4.8.4 for your host machine
>     and added it's qmake to Qt creator?
>     Then add yocto sysroot, gdb and gcc to Qt creator?
>     Could you please pont me step-by-step how did you get it working?
> 
>     If add Yocto's qmake toolchain on Qt Creator I get the version error.
>    
>     DIego Sueiro
>    
>     2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>
> 
> 
>         El 04/10/2013 16:30, Diego Sueiro escribió:
> 
>             2013/10/4 Jose Mª Ferreiro <jose.ferreiro@horus.es>
> 
>                 Hello Diego
> 
>                 We have had success doing a mix from these documents:
>                  - install host qt libraries: http://qt-project.org/doc/qt-4.8/
>                 install-x11.html
>                  - install host qt creator: http://labs.isee.biz/index.php/
>                 How_to_install_Qt_Creator#Configure_Yocto_SDK
>                  - yocto steps: https://community.freescale.com/thread/309578 ,
> 
>                 on a imx6Q Sabe Lite board being the host an Ubuntu 12.04.
> 
>                 Good luck
> 
> 
>             Jose,
> 
>             Thanks for the info.
> 
>             Which poky branch/version are you using?
>             Did you use the meta-toolchain from poky or the arm gcc from
>             Ubuntu?
> 
> 
>         Hello
> 
>         Yocto dylan+ meta-toolchain-qt as Joerg's document says.
> 
>         Best regards
> 
> 
>             Regards,
> 
>             --
>             *dS
>             Diego Sueiro
> 
>              
> 
> 
> 
>                 El 04/10/2013 14:45, Diego Sueiro escribió:
> 
>                     Folks,
> 
>                     After a lots of internet search, including this ML threads,
>                     i did not find any solution for this.
> 
>                     I'm having issues to integrate meta-toolchain-qt
>                     and meta-toolchain-qte with Qt Creator 2.8.1.
>                     I'm using this environment:
> 
>                         Build Configuration:
>                         BB_VERSION        = "1.18.0"
>                         BUILD_SYS         = "x86_64-linux"
>                         NATIVELSBSTRING   = "Ubuntu-12.10"
>                         TARGET_SYS        = "arm-poky-linux-gnueabi"
>                         MACHINE           = "beaglebone"
>                         DISTRO            = "poky"
>                         DISTRO_VERSION    = "1.4.2"
>                         TUNE_FEATURES     = "armv7a vfp neon"
>                         TARGET_FPU        = "vfp-neon"
>                         meta              
>                         meta-yocto        
>                         meta-yocto-bsp    =
>                         "dylan:560fa9ad8dd46f23cff7a2e88a3492c363314b29"
>                         meta-ti           =
>                         "dylan:24edd661d5e8fce3689bdd2c89e0105af8080152"
> 
> 
>                     When I configure the qmake path on Qt Creator I get the
>                     following message:
> 
>                         "Qt version is not properly installed please run make
>                         install"
> 
> 
>                     I've tried on dylan branch too, but no success.
> 
>                     So, I tried to use Angstrom's setup-scripts
>                     on angstrom-v2013.06-yocto1.4 branch. And it came with the
>                     issue related with "error while loading shared libraries:
>                     __vdso_time: invalid mode for dlopen(): Invalid argument".
>                     So, I switched to Fedora 19 and it has gone, but the
>                     invalid Qt version problem remains.
>                    
>                     I tried, without success, to compile by myself the 
>                     qt-everywhere-opensource-src-4.8 these toolchains:
> 
>                         angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-toolchain-qte-v2013.06
>                         poky-eglibc-x86_64-arm-toolchain-qte-1.4.2
> 
>                    
>                     If someone could successfully use meta-toolchain-qte with
>                     Qt Creator, please point me the right directions to achieve
>                     this. 
> 
>                     I really need some help to get a qt4-embedded toolchain
>                     working.
>                    
>                     Kind Regards,
> 
>                     --
>                     *dS
>                     Diego Sueiro
> 
>                     /*long live rock 'n roll*/
> 
>                    
> 
>                     _______________________________________________
>                     yocto mailing list
>                     yocto@yoctoproject.org
>                     https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
>                 _______________________________________________
>                 yocto mailing list
>                 yocto@yoctoproject.org
>                 https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
> 
> 
> 
>         _______________________________________________
>         yocto mailing list
>         yocto@yoctoproject.org
>         https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
> 
> 

> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-07  7:05           ` Laurentiu Palcu
@ 2013-10-07 11:18             ` Diego Sueiro
  2013-10-07 12:12               ` Laurentiu Palcu
  0 siblings, 1 reply; 9+ messages in thread
From: Diego Sueiro @ 2013-10-07 11:18 UTC (permalink / raw)
  To: Laurentiu Palcu; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1867 bytes --]

2013/10/7 Laurentiu Palcu <laurentiu.palcu@intel.com>

> Hi Diego,
> It's a little more complicated than that. After building the toolchain,
> all binaries have the default absolute path to the dynamic loader
> (/opt/poky/...) hardcoded in the elf INTERP section. This is easy to
> change. However, other binaries may or may not have other hardcoded
> paths to search for different things (like configs, etc.). Most of these
> could be easily fixed by providing the binary with an option or setting
> an environment variable to instruct it where to find what it needs. Take
> for example the gcc --sysroot option. By default gcc will search for the
> sysroot in the default location (starting with /opt/poky), but providing
> a --sysroot option, we override this default path.
>
> So, even though, for relocation, changing the INTERP section may suffice
> for most of the binaries, some may need more tweaking.
>
> A quick search on google brought me to this page:
> http://qt-project.org/doc/qt-4.8/qmake-environment-reference.html
>
> It turns out that QMAKESPEC environment variable is what QT creator
> looks at to be able to locate qmake.conf. So, perhaps, we need to add
> this to the environment file and the problem should be fixed...
>
> Can you please test this?
>
> Thanks,
> Laurentiu
>
>
Laurentiu,

Thanks for the explanation.

I took a look at environment-setup-armv7a-vfp-neon-poky-linux-gnueabi file
and it is already exporting the QMAKESPEC variable to the right path.
Maybe this variable is overridden by another one or by Qt Creator based on
some INTERP.

I did a "grep -r \/poky\/1\.4\.2 ./*" on the toolchain (installed outside
default path) and this is the results:

http://pastebin.com/us9p5vVp



Unfortunately I don't have enough knowledge to track this.


Regards,

--
*dS
Diego Sueiro

[-- Attachment #2: Type: text/html, Size: 3331 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: meta-toolchain-qt with Qt Creator
  2013-10-07 11:18             ` Diego Sueiro
@ 2013-10-07 12:12               ` Laurentiu Palcu
  0 siblings, 0 replies; 9+ messages in thread
From: Laurentiu Palcu @ 2013-10-07 12:12 UTC (permalink / raw)
  To: Diego Sueiro; +Cc: yocto

Hi Diego,

On Mon, Oct 07, 2013 at 08:18:00AM -0300, Diego Sueiro wrote:
> 2013/10/7 Laurentiu Palcu <laurentiu.palcu@intel.com>
> 
>     Hi Diego,
>     It's a little more complicated than that. After building the toolchain,
>     all binaries have the default absolute path to the dynamic loader
>     (/opt/poky/...) hardcoded in the elf INTERP section. This is easy to
>     change. However, other binaries may or may not have other hardcoded
>     paths to search for different things (like configs, etc.). Most of these
>     could be easily fixed by providing the binary with an option or setting
>     an environment variable to instruct it where to find what it needs. Take
>     for example the gcc --sysroot option. By default gcc will search for the
>     sysroot in the default location (starting with /opt/poky), but providing
>     a --sysroot option, we override this default path.
> 
>     So, even though, for relocation, changing the INTERP section may suffice
>     for most of the binaries, some may need more tweaking.
> 
>     A quick search on google brought me to this page:
>     http://qt-project.org/doc/qt-4.8/qmake-environment-reference.html
> 
>     It turns out that QMAKESPEC environment variable is what QT creator
>     looks at to be able to locate qmake.conf. So, perhaps, we need to add
>     this to the environment file and the problem should be fixed...
> 
>     Can you please test this?
> 
>     Thanks,
>     Laurentiu
> 
> 
> 
> Laurentiu,
> 
> Thanks for the explanation.
> 
> I took a look at environment-setup-armv7a-vfp-neon-poky-linux-gnueabi file and
> it is already exporting the QMAKESPEC variable to the right path.
Stupid me, I should've looked in the meta-toolchain-qt.inc first. Yes,
it appears to be set...

> Maybe this variable is overridden by another one or by Qt Creator based on some
> INTERP.
> 
> I did a "grep -r \/poky\/1\.4\.2 ./*" on the toolchain (installed outside
> default path) and this is the results:
> 
>     http://pastebin.com/us9p5vVp
> 
> 
> 
> Unfortunately I don't have enough knowledge to track this.
Would you please file a bug on this? I'll have a look as soon as I find
some time.

Thanks,
Laurentiu
> 
> 
> Regards,
> 
> --
> *dS
> Diego Sueiro
>  


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-10-07 12:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 12:45 meta-toolchain-qt with Qt Creator Diego Sueiro
2013-10-04 14:18 ` Jose Mª Ferreiro
2013-10-04 14:30   ` Diego Sueiro
2013-10-04 14:36     ` Jose Mª Ferreiro
2013-10-04 18:32       ` Diego Sueiro
2013-10-04 20:26         ` Diego Sueiro
2013-10-07  7:05           ` Laurentiu Palcu
2013-10-07 11:18             ` Diego Sueiro
2013-10-07 12:12               ` Laurentiu Palcu

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.