I want to run Qt Application with wayland backend base on iMX9332 + Linux 6.12.49 and rootfs extracted from imx-image-full-imx93evk.wic.
But an error occurred: qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.
How to use the QT qtvirtualkeyboard?
Thanks!
Hello @OscarLi
Hope you are doing very well.
The imx-image-full image uses Weston as the default Wayland compositor.
Weston handles input methods through weston.ini, located at /etc/xdg/weston/weston.ini.
In that file you need add the [input-method] and set QT virtual keyboard framework.
Something like:
[input-method]
path=/usr/libexec/qtvirtualkeyboard-path
Then, export:
export QT_IM_MODULE=qtvirtualkeyboard
./your-qt-application -platform wayland
Also, you can try:
export QT_IM_MODULE=wayland
./your-qt-application -platform wayland
Best regards,
Salas.