QtCreator configured for cross compiler


The CrossDevelopment server is Desktop 4*XEON 8 GB RAM Fedora27 KDE

This is the procedure I followed to install SDK and BSP.
[ferrara@localhost oe-core]$ repo init -u Index of /toradex-bsp-platform.git -b LinuxImageV2.8

[ferrara@localhost oe-core]$ repo sync

[ferrara@localhost oe-core]$ . export

[ferrara@localhost build]$ bitbake -k angstrom-lxde-image
N.B. This resulted in errors until I applied this Toradex suggestion:

[ferrara@localhost build]$ bitbake angstrom-lxde-image -c populate_sdk

[ferrara@localhost build]$ bitbake -k meta-toolchain-qt5

[ferrara@localhost build]$ …/deploy/sdk/angstrom-glibc-x86_64-armv7at2hf-vfp-v2017.12-toolchain.sh -S
N.B. angstrom-glibc-x86_64-armv7at2hf-vfp-v2017.12-toolchain.sh does not exist in the overall PC

[ferrara@localhost build]$ cd /home/ferrara/Scaricati/

[ferrara@localhost Scaricati]$ chmod a+x qt-unified-linux-x64-3.0.4-online.run

[ferrara@localhost Scaricati]$ ./qt-unified-linux-x64-3.0.4-online.run
I Installed Qt 5.10.1 and 5.9.2
Qt Creator 4.6.0 based on Qt 5.10.1 GCC 5.3.1 20160406 (Red Hat 5.3.1.-6), 64 bit

Then I run qtcreator through:
[ferrara@localhost Scaricati]$ . /usr/local/oecore-x86_64/environment-setup-armv7at2hf-neon-angstrom-linux-gnueabi
[ferrara@localhost Scaricati]$ /opt/qt5/Tools/QtCreator/bin/qtcreator

but for simple test application I receive this Error

qt Version







I see two missing configuration for QtCreator.

  1. On Compilers tab, ABI should be selected, it is arm-linux-generic-elf-32bit.
  2. On Kit tab, Qt mkspec also needed to be added. It is at SDKROOT//sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++

Since you are using V2.8 BSP, SDK can be generated by bitbake angstrom-lxqt-image -c populate_sdk. angstrom-lxqt-image.bb is for image with Qt lxqt desktop.
But I find you are using Qt5.10, the default version of V2.8 BSP is Qt5.9.