Important: Please read the Qt Code of Conduct -

How to split QInputDialog by virtual keyboard

  • SDK: Qt 4.7.3
    OS: Win7

    Using QInputDialog (Qt C++ Code) with QML creates problem when virtual keyboard opens.

    The virtual keyboard overlaps the input dialog and user cant see whatever he/she type. I use following code to get open QueryDialog.:

    QInputDialog::getText(NULL, "Save Score", "Enter name :", QLineEdit::Normal, "", &ok);

    i tried... QCoreApplication::setAttribute(Qt::AA_S60DisablePartialScreenInputMode, false); in main.cpp file.

    Please tell me how to get user input visible?

Log in to reply