[Qt-interest] Deployed win32 app with msvc runtime as private assembly fails to load psql plugin

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Jan 20 16:09:57 CET 2011


On 2011-01-20 Dmitry Dmitry Teslenko wrote:

> d) qt psql plugin go into %appdir%/plugins/sqldrivers

Unless you set the Qt plugins directory explicitly in your code or via qt.conf this location is wrong: the "Qt plugins home directory" is in your app directory, hence the proper location would be %appdir%/sqldrivers (in analogy %appdir%/imageformats etc.)

Refer to Qt "plugins" documentation "How Qt locates plugins".

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22





More information about the Qt-interest-old mailing list