Qt app in eglfs losing input after /dev/input is changed
-
I have basic qml app running on Raspberry PI 2, eglsf, Qt 5.5 (issue is in every version I tried from 4.x to 5.x).
Everything is fine, but when I unplug keyboard and plug it in again I lose application input.
I suppose that is because new device is created in/dev/input
.In the moment keyboard is unplugged, app spams log with
Could not read from input device: No such device
.How can I tell Qt to use any input source it has?
Now, I have to restart application on new input source, but that is ugly workaround.