Enter key on Android Keyboard
-
I have a QML TextInput field in my Android app where the user can type a search query. The Android virtual keyboard shows nicely and I can enter text.
However then Enter key on the keyboard shows "Next".
How can I change this to a search icon?
Also when I press the Enter key it does not seem to generate any event.
How can I get the event of the using pressing the Enter key on Android?
I have seen this question several times and it seems it is not possible in Qt/QML. I really hope this is not true, otherwise Qt/QML is not very suitable to develop an Android app.
-
Cool. Is that new in Qt6.8?
So that will change the button to a search button. How will I get the event from the button press?
In Qt6.6.3 I tried using Keys.onReleased and then check for the Qt.Key_Return event. That does work on Linux, but not on Android. -