[meta-freescale] QtCreator 4.5 + CMake + Yocto

Mauro Ziliani mauro at faresoftware.it
Wed Apr 4 08:19:17 PDT 2018


Hi all.

I'm working on a project developed with cmake qtcreator and Yocto Jethro.

The SDKMACHINE is a x86_64 with Debian 9.4

Until today I developed the application directly for sdkmachine (that is 
I compiled the project for x86_64) and then I compile the release 
version for imx6 in a terminal.

Now I'd like to integrate the build environment for iMX directly in 
QtCreator (the board is a imx6dlsabresd clone).


The SDK is placed in /opt/fsl-imx-x11/4.1.15-2.0.1 and I have two sysroots

/opt/fsl-imx-x11/4.1.15-2.0.1/x86_64-pokysdk-linux

/opt/fsl-imx-x11/4.1.15-2.0.1/cortexa9hf-neon-poky-linux-gnueabi


Compiling from the terminal I need to do

mauro at w530:~/build$ source 
/opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi

mauro at w530:~/build$ cmake ../app -DCMAKE_BUILD_TYPE=Debug 
TARGET_BOARD=imx6dlsabresd


to obtain the compilation environment

Then I do

mauro at w530:~/build$ make -j8


to obtain the final app.


How can I setup the QtCreator to do the same?


I follow some post but at the end cmake tell me

....: /lib/ld-linux-armhf.so.3: No such file or directory.


It is like cmake does not use the right sysroot.


Any Idea?


Best regards,

   MZ





More information about the meta-freescale mailing list