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 installer from the following link, in this case Qt 5.13.2:
https://download.qt.io/archive/qt/5.13/5.13.2/qt-opensource-linux-x64-5.13.2.run
Afterwards make the Qt installer file executable and run the Qt installer. Follow the installation wizard instructions.
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 ~/Qt5.13.2/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.
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 STKa8Xx
Device Type Generic Linux Device
Device STKaXx (default for Generic Linux)
Sysroot /opt/fsl-imx-wayland/5.4-zeus/sysroots/aarch64-poky-linux
Compiler C: TQMa8Xx C++: TQMa8Xx
Qt version Qt 5.13.2 (System)
Building the toolchain requires a Yocto build environment configured for meta-tq or ci-meta-tq The setup of the build environment is described on the corresponding Yocto quickstart of the module.
The meta-qt5 Yocto layer has to be added to the Yocto build environment when using meta-tq
After the Yocto build environment the SDK can be built by the following command:
bitbake meta-toolchain-qt5
Building meta-toolchain-qt5 may take several hours, depending on your hardware configuration
After building meta-toolchain-qt5 the SDK file is located in the following path of the build directory tmp/deploy/sdk/fsl-imx-wayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-5.4-zeus.sh
Execute the *sh file to install the SDK, the default path is set to /opt/fsl-imx-wayland/5.4-zeus