keyboard does not show up
-
Have same issue with Qt 5.15: https://stackoverflow.com/q/64629611/630169 Any solution?
-
Did you tried other keyboard? Maybe your keyboard is broken, or using specific settings.
Try AnySoftKeyboard or search for other keyboard.@PawlosCK said in keyboard does not show up:
Did you tried other keyboard? Maybe your keyboard is broken, or using specific settings.
Try AnySoftKeyboard or search for other keyboard.Problem reproducible on 2 devices and different keyboards:
- Samsung and its keyboard
- Huawei and Microsoft Swift Keyboard
https://forum.qt.io/topic/120462/soft-keyboard-is-not-visible-on-android-with-qt-5-15-on-any-input
-
So the problem was obvious because of following lines:
#ifdef Q_OS_LINUX qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); #endif
Changed to
#if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); #endif
And voila: Android keyboard works! :)