Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. App crashes on debug mode when using qt virtual keyboard on win10(1809, 17763.593), Qt5.12.4

App crashes on debug mode when using qt virtual keyboard on win10(1809, 17763.593), Qt5.12.4

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 380 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • VevinlongV Offline
    VevinlongV Offline
    Vevinlong
    wrote on last edited by Vevinlong
    #1

    Develop Environment:
    OS: Windows 10 1809(17763.593)
    Qt: 5.12.4

    Hi, everyone, I have installed Qt 5.12.4 on my computer, then I try to run the virtual keyboard example:
    0_1561707547655_example.png

    It's ok to run without debugging:
    0_1561707732273_run.png

    But when I want to start debugging, it will crashes when the app have the focus by clicking it, and debug page change to this:
    0_1561708371334_主机.png

    Actually, It's OK before 15 May on Qt 5.8, Qt 5.10, but one day, it crashes when I run my app. I code a test app, a mainwindow with a lineedit

    int main(int argc, char *argv[])
    {
    //    qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));          //keyboard
        QApplication a(argc, argv);
        MainWindow w;
        w.show();
        return a.exec();
    }
    

    It's OK to debug when comment out keyboad, but it will crash when uncomment it.

    By the way, I find that it can be started when choose mingw 32-bit show as following:
    0_1561709004422_32.png

    Thanks!!!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved