QML Keys.onPressed not working in Android
-
Hello
this is simple key event in QML
This event worked in Windows build but not working in AndroidMyTextArea{ id: textArea property int row : 0 property int maxLength: 3 Keys.onPressed: { **some code here ** } }
Keys.onPressed never rise in android but perfect work in windows
Is it QML bug?
Qt version 5.9 -
Yes, sounds like a bug.
-
-
@sierdzio said in QML Keys.onPressed not working in Android:
Sorry, if I knew I would have told you.
Definitely you should report it on the bug tracker. A similar one seems to be present (and not fixed) since 5.3... :-(
Others report that onPressed is working for them.
Are you sure your text area has focus?
This event work on windows and also some devices but not all devices
-
@Cinohee said in QML Keys.onPressed not working in Android:
@sierdzio said in QML Keys.onPressed not working in Android:
Are you sure your text area has focus?
This event work on windows and also some devices but not all devices
wow, that's proper weird.
Maybe some Qt devs on Qt Interest mailing list could help?