Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to hide virtual keyboard in Android?



  • Hello,

    I want to hide virtual keyboard completely for specific QLineEdit. How can I do it?

    I attempted to fix this issue by using this SLOT but unfortunately it didn't fix this issue :(

    void MainWindow::on_lineEdit_2_selectionChanged()
    {
        qApp->inputMethod()->hide();
    }