QSqlDatabase common problem
why do i get this error : QSqlDatabasePrivate::addDatabase: duplicate connection name ‘qt_sql_default_connection’, old connection removed.
i already follow what’s in the docs…
can you check with this if DB is still open?
i limit the error by doing something like this
but this is not enough coz tha last query still displays the error coz the dbase is not remove…