在linux平台上运行qt app下面代码:
QSqlDatabase dbConn;
dbConn = QSqlDatabase::addDatabase("QSQLITE");
dbConn.setDatabaseName(qApp->applicationDirPath() + "/mydb.db");
报错:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
"Driver not loaded Driver not loaded"
远程解决上面这个问题!