[Qt-interest] Qt Plugins Windows

Dave Cawley sakrag at gmail.com
Fri Apr 16 09:03:41 CEST 2010


Hi,

I am writing a Qt application that takes advantage of the svg and sqlite 
plugins.  Everything works great on linux, however on windows, the 
correct plugins are never loaded so the svg icons are null and the 
database connection fails.  I have tried following the deployment guide 
for windows, I have copied the imageformats, iconengines, and sqldrivers 
directories into my applications directory, checked the dependencies of 
the dlls in a dependency viewer, tried placing the dlls in the same 
directory as my application, and tried using 
QApplication::addLibraryPath() to specify my own location for them all 
to no avail.  I have tried this on windows vista and windows 7, both 32 
and 64 bit and I have tried it using both mingw and msvc versions of qt 
all with the same results.  Any ideas on what im doing wrong here?  I 
may try using static linking next, but I would prefer to use dynamic 
linking.

Thanks,
Dave Cawley



More information about the Qt-interest-old mailing list