QT5 keyboard layout in eglfs
-
Hi, I'm writing an embedded application using QT5 on raspbian linux and struggling with localized keyboard layout. In console I'm having those fancy czech characters, but I could not get them in QLineEdit inside my application. What is the replacement for QWS_KEYBOARD="TTY:keymap=xx.qmap"? On development machine under X11 localized keyboard is no problem. Thanks.
-
Hi Andrea,
I've submitted a patch https://codereview.qt-project.org/#change,51466 which is now part of Qt5.1 pre. You could basicaly use system variable QT_QPA_EVDEV_KEYBOARD_PARAMETERS instead of QWS_KEYBOARD. The parameters remains the same. If you'll have more problems with keymaps, feel free to contact me.
-
-
No problem,
It depends how often you would restart the system. For me 25s from powering up the stystem and starting the application was not much problem. 3s is amazing performance. You can also cherry-pick the patch and apply it to 5.0.0 sources. It should work.
BR,
Libor
-
Hi Libor,
I have applied your patch to Qt 5.0.1 source and now I can successfully load an italian qmap.
Very nice, but remain a last problem: the euro key is displayed as 'internation currency' symbol, instead of the correct euro symbol.
It seem that I need a different font map, but I don't know how make this change inside a qtquick 2 app.
RegardsAndrea