PDA

View Full Version : Qt5 auto repeat



chocoleet
29th December 2015, 03:07
Hi,

We are using a keypad as input device for a project.

When using Qt4 we created a QWSKeyboardHandler derived class and used the beginAutoRepeat() to periodically send a specified key press until endAutoRepeat() was called. In Qt5, it seems like QPA has replaced QWS so I can no longer use these functions.

Could anyone suggest any other solution to this problem? Or point me in the right direction to porting my code, please?

anda_skoa
29th December 2015, 10:33
I think the QPA system uses input plugins http://doc.qt.io/qt-5/embedded-linux.html#input

Cheers,
_