> ...
>    QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
> ...
>    bool ok = db.open();
> 
> When I run this ok is always true, no matter what arguments are passed.

I am not experienced with SQLITE, but is it possible that each time a new DB 
instance (file) is created, if no such instance exists yet? Hence the 
"connection" alway succeeds?

Cheers,
  Oliver
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to