QT wayland/KMS/GBM plugin:

Linux Drivers

Release Date
2023-07-22

In addition to enable Wayland Mali backend support above, select 'packagegroup-petalinux-qt' in 'petalinux-config -c rootfs' and perform a petalinux-build.

Wayland plugin:

Once weston shows up, export the following environment variables for wayland plugins.

export XDG_RUNTIME_DIR=/run/user/0/ && export QT_QPA_PLATFORM=wayland && export QT_WAYLAND_SHELL_INTEGRATION=wl-shell

Now you can run any example applications like  /usr/share/qt5/examples/opengl/textures/textures

KMS/GBM plugin:

For this plugin ensure that weston is not running and export the following environment variables

export QT_QPA_PLATFORM=eglfs && EGLFS_DEVICE_INTEGRATION=eglfs_kms

Now you can run any example applications like /usr/share/qt5/examples/opengl/textures/textures.