[Qt-interest] Qt 4.5.1, MSVC2005, WinXP: Problem loading qsqlite plugin dynamically on deploymentcomputer

Jeffrey Brendecke jwbrendecke at icanetix.com
Mon Jul 13 18:50:18 CEST 2009


Thanks for your reply!

This is my error in the mail (I forgot to indent one more).

The relative path to the .dll from the directory where the application is 
installed is:

plugins\sqldrivers\qsqlited4.dll


---------
On Monday 13 July 2009 18:33:00 David Ching wrote:
> "Jeffrey Brendecke" <jwbrendecke at icanetix.com> wrote in message
> news:200907131738.41850.jwbrendecke at icanetix.com...
>
> >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.
> > ...
> > The structure of the application directory is simple:
> >
> > <Application binaries>
> > plugins
> >  sqldrivers
> >  qsqlited4.dll
>
> I think the qsqlited4.dll needs to be in the sqldrivers\ folder.
>
> -- David
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list