AnsweredAssumed Answered

How to cross compile Qt5 applications to FSL Yocto from existing Qt creator?

Question asked by ajithpv on Aug 19, 2015
Latest reply on Aug 24, 2015 by ajithpv

Hi all,

As part of my current development, I have to work with Qt5 and develop custom application for the platform.

The existing set-up details are as follows:

Host PC OS:

Ubuntu 14.04 LTS 64-bit

 

Target Platform:

Freescale i.MX6 SoloLite EVK

 

Yocto Version:

Freescale Yocto BSP - Rev L3.10.53_1.1.0-ga (i.e. imx-3.10.53-1.1.0_ga)

My build configured with X11 graphical back end.

 

Qt creator Version in Ubuntu PC:

Qt Creator 3.0.1 - Based on Qt 5.2.1 (GCC 4.6.1, 64 bit)

 

As far as my understanding, Qt 5.2.1 version is used in Rev L3.10.53_1.1.0-ga.

I have run the sample qt5 applications which are available in the Yocto BSP and is running fine.

I also done some applications in the existing Qt creator and is now came up-to a level that, I can try that on the target platform.

 

Now, my question is how I can cross compile the application(s) that, I created using existing Qt creator, to make it run on the target platform? What settings should I give in the Qt creator build settings (specifically the path)?

 

PS: AFAMK, "bitbaked meta-toolchain-qt" shall create tool-chain for Qt4 only. What command I should give for creating the Qt5 tool-chain? "bitbaked meta-toolchain-qt5" throws error when I bitbake it.

 

Could anyone help me to figure out, what settings I should made, in-order to work as mentioned above?

 

Looking forward to your reply...

 

Thank you in advance,
Ajith P V

Outcomes