Important: Please read the Qt Code of Conduct -

QSqlDatabase.isValid() depends on the connection?

  • Read in doc that isValid () returns true if the driver is valid. What causes the driver to be valid?
    If the server is down or the connection is absent, isValid() returns true ou false?

Log in to reply