[Qt-interest] SQLite on Windows
Timothy Reaves
treaves at silverfieldstech.com
Sat Dec 19 03:41:10 CET 2009
On Dec 18, 2009, at 9:30 PM, Bastian Bense wrote:
> 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!
>
Is this true of the distribution fro Nokia? If I want to support SQLite on windows, I must compile Qt myself?
More information about the Qt-interest-old
mailing list