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 


my g++ path 


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)



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


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/, for GNU/Linux 2.6.32, BuildID[sha1]=6be4f7ebc9ef695084f1e117053ffc047b967f86, not stripped


my distro info 



For imx7 sabre board


$ MACHINE=imx7dsabresd source -b build-x11 -e x11


Build release

$ bitbake fsl-image-qt5


Create toolchain

$ bitbake meta-toolchain-qt5