Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5 QML - Get the virtual keyboard height (Android/iOS)
JulienD last edited by
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
because Qt complains that this function doesn't exist.
So, there may be something I missed in between.