[Qt-interest] QSQLITE problems on clean install
Bill King
bill.king at nokia.com
Thu Jan 14 00:05:03 CET 2010
On 01/14/2010 07:32 AM, ext Jason Woodall wrote:
> 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.
>
^^ Where is this coming from? why is the q before the slash? it should
be sqldrivers/qsqlite4.dll from the looks of things...
> 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
>
>
>
--
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office
More information about the Qt-interest-old
mailing list