bitbake tq-image-weston you have to use bitbake tq-image-qt6
Download the Qt online installer from the following link:
https://www.qt.io/development/download-qt-installer-oss
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 6.8.3
The next step is to add the environment setup of the Yocto SDK to the qtcreator.sh script.
If the install location has not been changed the qtcreator.sh is located in ~/Qt6/Tools/QtCreator/bin/qtcreator.sh
nano ~/Qt6/Tools/QtCreator/bin/qtcreator.sh
In the script, add the following line at the beginning of the file:
source /opt/dumpling-wayland/5.0.16/environment-setup-armv8a-tq-linux
Change to the directory where the qtcreator.sh file is located and execute the following command:
./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.
First, a connection to the target board needs to be configured:
Click Apply in the top right corner to save
| processor architecture | operating system | OS flavor | binary format | system architecture |
|---|---|---|---|---|
| arm | linux | generic | elf | 64bit |
Click Apply in the top right corner to save
QT_HOST_PATH=/opt/dumpling-wayland/5.0.16/sysroots/x86_64-tqsdk-linux/usr
QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/plugins LD_LIBRARY_PATH=/usr/lib XDG_RUNTIME_DIR=/run/user/0
Click Apply in the top right corner to save

If everything configured correctly, press on the now green play button in the bottom left to build, deploy and run the example.