[Qt-interest] QSQLITE problems on clean install
Jason Woodall
jwoodall at discoverysoftware.com
Thu Jan 14 00:10:47 CET 2010
Sorry that was my manual entry mistake by me in the post (the original
post stripped the \) I reentered it manually.
It should be: LoadLibraryW("[APP_LOCATION]/sqldrivers/qsqlite4.dll")
returned NULL.
Bill King wrote:
> 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
>>
>>
>>
>
>
More information about the Qt-interest-old
mailing list