Search code examples
keyboarduwpqt5windows-10-mobile

qt5 windows 10 mobile keyboard


On windows 10 mobile (UWP), the (windows built in)virtual keyboard, which pops up as soon as you focus a textinput element, does not change the screensize, and therefor overlap my input element.

Is there a possibilty, to 1. connect to an event like keyboard open/close 2. get the height of the virtual keyboard

Or any other workaround?


Solution

  • I fixed it by using getting the inputmethod Object with QGuiApplication::inputMethod(); , connect its to visibleChanged() signal and then request the Rectangle with keyboardRectangle();