[Qt-interest] SQLite and create new database file
Robert Hairgrove
evorgriahr at hispeed.ch
Sun Jan 18 23:16:30 CET 2009
According to the docs of SQLite, if one tries to open a database file
which doesn't exist, a new one by that name is created.
It appears that Qt doesn't play along these lines. I added a database,
then tried to open it. No error was issued, but no new database file was
created, either.
How can I create a new SQLite database by using
QSqlDatabase::addDatabase()?
Is it possible by some other means (from within the Qt application, that
is)?
More information about the Qt-interest-old
mailing list