It doesn't mean the database failed to open!
What do QSqlDatabase::open() and QSqlDatabase::isOpen() return?
It doesn't mean the database failed to open!
What do QSqlDatabase::open() and QSqlDatabase::isOpen() return?
Nefastious (29th September 2009)
true on both
so we can assume that the problem doesn't lie on the database object itself, but where could it lie? Any ideas?
The query is probably incorrect or the table is empty. Check the last error of the model.
Nefastious (29th September 2009)
Bookmarks