[yocto] meta-toolchain-qt with Qt Creator

Diego Sueiro diego.sueiro at gmail.com
Fri Oct 4 13:26:06 PDT 2013


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 at 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 at horus.es>
>
>>
>> El 04/10/2013 16:30, Diego Sueiro escribió:
>>
>> 2013/10/4 Jose Mª Ferreiro <jose.ferreiro at 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 at yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131004/9b58a72f/attachment.html>


More information about the yocto mailing list