Unsolved Virtual keyboard do not show when debug build.
-
This cause happens when build with vs+add-on and qtcreator+msvc both at Qt5.12. Even the program will crash when I use "start debugging" with QtCreator. I confirm that it cause by virtual keyboard because I comment out
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
with everything is ok, and virtual keyboard do not show when debug build refers to this. My code as following:int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); // QCoreApplication::setAttribute(Qt::AA_UseOpenGLES); QApplication app(argc, argv); //OTHER CODE return app.exec(); }
This is dependency graph of program when debug build and haven't dependency about virtual keyboard.
-
@Crawl.W said in Virtual keyboard do not show when debug build.:
Even the program will crash when I use "start debugging" with QtCreator.
Do you have stack trace after the crash?
-
@jsulm Yes,it's disassembler result, can not see something. Whole stack trace as following graph: