Qt5 keyboard input does not work without xkbcommon-evdev enabled
-
wrote on 9 Sept 2019, 13:59 last edited by
We build QT with yocto build system to run on TI Sitara devices such as AM57xx.
There were never Keyboard issue until QT5.11.3 when we dropped xkbcommon-evdev at yocto. The keyboard inputs were no longer recognized by any QT application including qtwebkit browser. This problem was recognized and then fixed by re-enabling xkbcommon-evdev.Features used by QPA backends:
evdev .................................. yes
libinput ............................... yes
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon-evdev ........................ yesUnfortunately the same trick does not work for QT5.12.3 because xkbcommon-evdev is no longer supported by QT QPA.
Features used by QPA backends:
evdev .................................. yes
libinput ............................... yes
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. no
X11 specific:
XLib ................................. no
XCB Xlib ............................. no
EGL on X11 ........................... noAny inputs to debug and resolve this issue is highly appreciated.
Best regards,
Eric
-
Hi,
Just an educated guess but until recently, the xkbcommon library was provided by Qt but since all officially supported distribution provide that library, the related embedded version has been dropped.
Therefore, you would need to enable that library in your yocto build.
-
wrote on 9 Sept 2019, 22:01 last edited by
Thanks for the information! Is xkbcommon still required without X11. Our build does not support X11, just Wayland and nullWindow (EGLFS). It used to work through xkbcommon-evdev only.
Best regards,
Eric
-
Likely because the library was included with Qt.
AFAIR, it can be used without X11.
-
wrote on 11 Sept 2019, 13:18 last edited by
Yes, it works well with xkbcommon enabled.
Thanks a lot.Best regards,
Eric
5/5