[Qt-interest] QSQLITE problems on clean install

Jason Woodall jwoodall at discoverysoftware.com
Wed Jan 13 22:32:32 CET 2010


I think I posted this to the wrong forum in response to another post:
http://labs.trolltech.com/forums/topic/1528?replies=2

If anyone can help me solve this issue it would be appreciated.

I have a Qt application that makes use of qsqlite.
I am using Qt 4.5.1, sqlite 3.5.9 (I believe base sqlite with qt 4.5.1).
Built on Windows Vista using MSVC 2005

It works on Vista and XP machines with a development environment, when I 
try to install to a bare machine we get Driver not loaded.

When running through dependency walker I get this information:

LoadLibraryW("[APP_LOCATION]/sqldriversq/sqlite4.dll") returned NULL. 
Error: This application has failed to start because the application 
configuration is incorrect. Reinstalling the application may fix this 
problem (14001).
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
QSqlQuery::exec: database not open
QSqlQuery::prepare: database not open

I have been working on this issue for 2 days now, so any help would be 
greatly appreciated.
I have tried creating qt.conf, different locations for the plugins, 
rebuilt QT with QT_NO_PLUGIN


-- 
Jason Woodall
Software Developer (SIS Bridges)
Discovery Software Ltd.
Toll Free- 1-888-569-7711 x 2229
Hours: M-F 0700-1500 PST



More information about the Qt-interest-old mailing list