如何解决QSqlQuery::exec: database not open

NoSuchKey