2384936_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2384936_en-US

2384936_en-US

I want to run Qt Application on Yocto with wayland backend.

   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!

Yocto ProjectRe: I want to run Qt Application on Yocto with wayland backend.

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.




标记 (1)
无评分
版本历史
最后更新:
‎06-25-2026 03:29 AM
更新人: