Closed floouuu closed 7 years ago
Also from http://blog.qt.io/blog/2015/11/17/embedded-linux-news-in-qt-5-6/
Qt 5.5 introduced support for libinput when it comes to getting input events from keyboards, mice, touchpads, and touchscreens. Qt 5.6 takes this one step further: when libinput is available at build time, it will be set as the default choice in eglfs and linuxfb, replacing Qt’s own evdevkeyboard, mouse, and touch backends. In some rare cases this will not be desirable (for example when using evdevkeyboard-specific keyboard layouts from the Qt 4 QWS times), and therefore the QT_QPA_EGLFS_NO_LIBINPUT environment variable is provided as a means to disable this and force the pre-5.6 behavior.
Kind regards, Florian
It's me again :-)
BTW, a quick workarround for the problem is setting the environment variable QT_QPA_EGLFS_NO_LIBINPUT
at runtime:
export QT_QPA_EGLFS_NO_LIBINPUT=1
Kind regards, Florian
Since the workarround is working quite nice for some time now, I will close the issue.
Hello,
I noticed that the keyboard is not working for me in the Qt 5.6.0-rc1 build. For debugging purposes, I set the environment variable
export QT_LOGGING_RULES=qt.qpa.*=true
. When starting my qml application, I get the following log lines:Looks like the hardware is found, but the mapping does not work. I installed libxkbcommon0 and also libxkbcommon-x11-0 on the pi, but I still got the same error. After googling a bit I think it must have to do something with the configure options when compiling qt, see http://doc.qt.io/qt-5/configure-options.html#third-party-libraries. Is this the case?
Thank you, Florian