Qt Virtual Keyboard in QQuickWidget
问题 It is possible to show Virtual Keyboard in QQuickWidget or in QWidget? I have QWidget application and I need to have better control where VirtualKeyboard is shown. Today I spend all my day to find a solution, unfortunately without success. 回答1: The following code shows that it is valid to use virtualkeyboard in QQuickWidget. main.cpp #include <QApplication> #include <QQmlApplicationEngine> #include <QQuickWidget> int main(int argc, char *argv[]) { qputenv("QT_IM_MODULE", QByteArray(