Qt5 QML - Get the virtual keyboard height (Android/iOS)
Unsolved
Mobile and Embedded
-
Hello,
Is there a simple wau to get the height of the native virtual keyboard via QML?
I raise it with Qt.inputMethod.show() and try to measure it with Qt.inputMethod.keyboardRectangle but I get a result of 0.
var d = Qt.inputMethod.keyboardRectangle my_text_id.text = d.height + '';
Note: I don't use
keyboardRectangle()
because Qt complains that this function doesn't exist.
So, there may be something I missed in between.
Thanks