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)
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
doesnt work for me.
release 4.1.15-2.0.0 qmake is fail.
i am triying freescale rocko yocto bsp but its not have meta-toolchain-qt when i i added manual i get error.
atakan@atakan-argew1:~$ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
atakan@atakan-argew1:~$ /opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake --version
QMake version 3.0
Using Qt version 5.6.2 in /opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib