bitbake tq-image-weston
you have to use bitbake tq-image-qt5
The following has to be added to the local.conf file in the build directory or to your custom image recipe:
IMAGE_INSTALL_append = " openssh-sftp-server"
Download the Qt online installer from the following link:
https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-linux-x64-4.1.1-online.run
Afterwards make the Qt installer file executable and run the Qt installer. You will need a Qt account for the installation. Follow the installation wizard instructions and install Qt 5.15.0.
The next step is to add the environment setup of the Yocto SDK to the first line (above the shebang) of the file qtcreator.sh script.
If the install location has not been changed the qtcreator.sh is located in ~/Qt/Tools/QtCreator/bin/qtcreator.sh
source /opt/fsl-imx-wayland/5.4-zeus/environment-setup-aarch64-poky-linux
change to the directory where the qtcreator.sh file is located and execute the following command:
sudo sh qtcreator.sh
If qtcreator.sh returns source: not found
, before sudo sh qtcreator.sh, enter sudo dpkg-reconfigure dash
and choose no.
If qtcreator.sh returns qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
, enter sudo apt-get install –reinstall libxcb-xinerama0
.
processor architecture | operating system | OS flavor | binary format | system architecture |
---|---|---|---|---|
arm | linux | generic | elf | 64bit |
processor architecture | operating system | OS flavor | binary format | system architecture |
---|---|---|---|---|
arm | linux | generic | elf | 64bit |
If the qmake file has been auto-detected by Qt Creator qmake has not to be added manually.
Name STKa8MPXL
Device Type Generic Linux Device
Device STKaMPXL (default for Generic Linux)
Sysroot /opt/fsl-imx-wayland/5.4-zeus/sysroots/aarch64-poky-linux
Compiler C: TQMa8MPXL C++: TQMa8MPXL
Qt version Qt 5.13.2 (System)