What is wrong with this code. Why I get warning about it?
WARNING: QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
Qt Code:
{ db.setDatabaseName("DRIVER={Microsoft Access Driver (*.mdb)};FIL={MSAccess};DBQ=E:file.name" ); if (!db.open()) { qDebug()<< db.lastError().text(); return false; } } }To copy to clipboard, switch view to plain text mode
Bookmarks