[Qt-interest] QSQLITE - Driver question

Mike Davis mike at miketdavis.blogsite.org
Wed Dec 30 07:17:47 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,
I'm brand new to this mailing list but a long time user of Qt. Have a
question, hope this is the right place!

My application is a Qt 4.6.0 application on Windows built with MinGW.
When I create an SQLite table using QSqlDatabase::exec, it sets an error
condition even though the operation succeeds. db.lastError()->text() is
empty though.

Is this normal for the QSQLITE driver? I don't want to ignore it if
there is a way to make it act appropriately. When working with
PostgreSQL I have not experienced this problem.

Any insights?

Mike Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)

iEYEARECAAYFAks68IsACgkQyv8e+QfNYNsIYQCfSEnITUE9Vxc9B9K9xhPqeRDk
A4cAoI6NQb7xVB6Qeh+MZ1QURZmSGIaP
=cJZv
-----END PGP SIGNATURE-----



More information about the Qt-interest-old mailing list