AnsweredAssumed Answered

Qt5 creator build fail for IMX6 Sabre board(/usr/bin/ld: cannot find -lQt5Widgets)

Question asked by Anil Kumar on May 19, 2017
Latest reply on Nov 30, 2017 by do nam

Setting up the qt creator to build for I.MX6 Sabre SDB :-

*My yocto build PC0 setup:-

> Yocto build version: 4.1.15-2.0.1 with Bitbake Image type: fsl-image-qt5
> for qt toolcahin : bitbake meta-toolchain-qt5

> after this fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-4.1.15-2.0.1.sh got generated successfully. 

 

*my Qt Development PC1:-

HostPC : Ubuntu 16.04LTS

> Qt5 tool-chain sh file  copied from  PC0 to PC1 and executed the fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-4.1.15-2.0.1.sh

> following link:Setting up Qt Creator to build for i.MX6 

QtCreator: http://www.qt.io/download-open-source/ as recommended

      #Compiler Path: /opt/fsl-imx-xwayland/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

      #qmake: /opt/fsl-imx-xwayland/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake

 

Error:

 

Don't know what is wrong, please help on this, its very important for me.

 

please anyone can give solution for this, waiting for your reply. 

Thanks & Regards

-Anil

Outcomes