[Qt-interest] SQLite on Windows
Bastian Bense
bastibense at gmail.com
Sat Dec 19 03:30:57 CET 2009
When compiling Qt you need to configure with the -qt-sql-sqlite or -qt-plugin-sqlite flags.
No SQL drivers are built by default.
Am 19.12.2009 um 01:54 schrieb Timothy Reaves:
> Hello all. I have an app that I've built on my Mac with Qt 4.6. I use SQLite for storing data. This all works fine for me. It does not work for a Windows user, and I really do not have access to a machine. Unfortunately, I've been unable to find in any of Qt's documentation what is needed at run-time for SQLite support.
>
> What get's logged on the users machine is this:
> ...
> QSqlDatabase: QSQLITE driver not loaded
> QSqlDatabase: available drivers:
> Oculars could not open its databse; disableing module.
> ...
>
> Can anyone help me figure out what to do for Windows users? I thought that SQLite was statically linked with Qt and didn't require anything outside of the Qt install. This seems to be in error.
>
> Any help greatly appreciated!
Best regards,
Bastian Bense
More information about the Qt-interest-old
mailing list