[Qt-interest] SQLite and create new database file

Robert Hairgrove evorgriahr at hispeed.ch
Mon Jan 19 01:35:19 CET 2009


Constantin Makshin wrote:
> QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
> db.setDatabaseName(fileName);
> db.open();

This didn't work ... there was no database file "fileName" created.



More information about the Qt-interest-old mailing list