Problems running QtVirtualKeyboard with Wayland Compositor
-
Hi All, I have a problem using the desktop QtVirtualKeyboard with a Wayland-based platform.
We have a Qt5 app running on Yocto Linux with a Wayland display server. When the QtVKB is invoked by e.g. clicking an input box, it flashes up briefly on the screen then vanishes. Our main application is quite large, but I have recreated this using a small test app.
I set
WAYLAND_DEBUG=1
andQT_LOGGING_RULES="qt.virtualkeyboard=true;qt.qpa.wayland*=true"
but there was nothing to indicate the problem.I have seen talk elsewhere about the QtVKB having problems with Wayland, is this a known issue?
It runs just fine on Ubuntu.
Any pointers appreciated!
-
Apologies, this is a known issue, the application-integration method using the QML InputPane has to be used with Wayland, desktop integration won't work, see bug report
The docs do also say application integration is mandatory in environments where there is no support for multiple top-level windows.
That will teach me to RTFM!
-
-