[Qt-interest] Qt 4.5.1, MSVC2005, WinXP: Problem loading qsqlite plugin dynamically on deployment computer
Jeffrey Brendecke
jwbrendecke at icanetix.com
Mon Jul 13 17:38:41 CEST 2009
I have a console application that requires the qsqlite plugin.
Qt was compiled to load the plugin dynamically.
On my build computer, everything works fine. However, when I try to deploy the
application to another computer, the plugin is consistently not loaded and
QSqlDatabase::drivers() is empty.
* I am only working with a debug build right now.
* The other console apps not requiring the dynamically loaded driver are
working fine.
* I have already ascertained that QCoreApplication was initialized.
* I tried linking to the plugin statically as described in:
doc/html/plugins-howto.html
but I kept getting linker errors even though I linked to the corresponding
debug .lib file.
The structure of the application directory is simple:
<Application binaries>
Microsoft.VC80.CRT <dir>
Microsoft.VC80.DebugCRT <dir>
plugins <dir>
qt.conf
QtCored4.dll
QtGuid4.dll
QtSqld4.dll
QtSvgd4.dll
Microsoft.VC80.CRT
Microsoft.VC80.CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll
Microsoft.VC80.DebugCRT
Microsoft.VC80.DebugCRT.manifest
msvcm80d.dll
msvcp80d.dll
msvcr80d.dll
plugins
sqldrivers
qsqlited4.dll
qt.conf
In qt.conf:
[Paths]
Plugins = plugins
Could I be missing something?
More information about the Qt-interest-old
mailing list