[Qt-interest] QSQLITE problems on clean install

Jason Woodall jwoodall at discoverysoftware.com
Thu Jan 14 16:28:38 CET 2010


On a machine where the application runs fine:
ConfigManager::init: libraryPaths(): 
E:/SVN/trunk/libraries/qt/4.5.1-base/plugins, 
E:/SVN/trunk/bridges/app/app/Release

2 paths are: qt plugin path
and
application directory

If I remove the sqldrivers folder from: 
E:\SVN\trunk\libraries\qt\4.5.1-base\plugins
the application fails in the same way as my base XP machine.  If I then 
copy that dir and contents to E:/SVN/trunk/bridges/app/app/release (note 
upper and lower case difference), then it works fine.


On a clean XP machine:
ConfigManager::init: libraryPaths(): //nas/support/jwoodall/app/test1

Where: //nas/support/jwoodall/app/test1 is the application directory and 
contains:

  Directory of \\nas\support\jwoodall\app\test1

01/14/2010  07:01 AM    <DIR>          .
01/13/2010  11:27 AM    <DIR>          ..
01/14/2010  07:12 AM         1,105,920 app_ui.exe
08/14/2009  06:23 AM         1,048,576 libeay32.dll
01/13/2010  11:00 AM           344,064 QtXml4.dll
01/13/2010  11:16 AM           196,608 QtSql4.dll
01/13/2010  11:02 AM           663,552 QtNetwork4.dll
01/13/2010  02:12 PM           196,608 libcurl.dll
01/14/2010  07:02 AM    <DIR>          sqldrivers
08/14/2009  06:23 AM           200,704 ssleay32.dll
01/13/2010  11:00 AM         1,966,080 QtCore4.dll
01/14/2010  07:01 AM    <DIR>          Microsoft.VC80.CRT
01/13/2010  11:15 AM         7,172,096 QtGui4.dll
                9 File(s)     12,894,208 bytes
                4 Dir(s)  505,538,220,032 bytes free

sqldrivers contains:
  Directory of \\nas\support\jwoodall\app\test1\sqldrivers

01/14/2010  07:02 AM    <DIR>          .
01/14/2010  07:01 AM    <DIR>          ..
01/13/2010  12:42 PM               722 qsqlite4.exp
01/13/2010  12:43 PM           364,544 qsqlite4.dll
01/13/2010  12:42 PM             2,062 qsqlite4.lib
                3 File(s)        367,328 bytes
                2 Dir(s)  505,538,220,032 bytes free



Jan wrote:
> What does QCoreApplication::libraryPaths() return?
> 
> Jason Woodall schrieb:
>> I have tried that, tried having it in the same directory as the app. 
>> I've tried in a plugin folder, then tried qt.conf to declare its location.
>>
>> According to the results from dependency walker it looks like it can 
>> find the .dll but it is being returned a null.  Not sure if this means 
>> its build key doesn't match or, some dependency isn't working or what.
>>
>> I personally have a feeling it has something to do with msvcr80 or 
>> associated dll's but can't for the life of me figure it out.
>>
>> I've found many very similar accounts of this sort online, but no 
>> consistent response, nor any response that has fixed my issue.
>>



More information about the Qt-interest-old mailing list