AnsweredAssumed Answered

imx7 qmake 5.6.2  does not work (its look x86)

Question asked by Atakan Akbulut on Apr 24, 2018
Latest reply on Apr 25, 2018 by Atakan Akbulut

Hello everyone , I am working on imx7 and i created my distro its working on board . I created qt toolchain but it is not working . toolchain qmake version 5.6.2 and i get this error.

 

(.qtversion[qt_version_tag]+0x0):-1: error: undefined reference to `qt_version_tag'  

 

my gcc path 

/opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc

my g++ path 

/opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

my qmake is auto-detected 5.6.2 

 

Also i have old release when i compilar old qmake i did not any problem .(qmake version 5.5.1)

 1

 

i am source needed parameters but doesnt work . Added qt defines but qmake looking for x86. When i added 

DEFINES += QT_NO_VERSION_TAGGING

in pro file problem is fixed but binay not running because of its looks x86 compilar . when i get binary info its 

ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=6be4f7ebc9ef695084f1e117053ffc047b967f86, not stripped

 

my distro info 

 

 

For imx7 sabre board

 

$ MACHINE=imx7dsabresd source fsl-setup-release.sh -b build-x11 -e x11

 

Build release

$ bitbake fsl-image-qt5

 

Create toolchain


$ bitbake meta-toolchain-qt5

Outcomes