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)
評価なし
バージョン履歴
最終更新日:
木曜日
更新者: