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

Tiago Correia tiago at cnotinfor.pt
Tue Jul 14 02:10:31 CEST 2009


Hi,
The folder should be just

.\sqldrivers\qsqlited4.dll

The folder plugins is not needed.

On Mon, Jul 13, 2009 at 10:48 PM, Bill King <bill.king at nokia.com> wrote:

> ext Jeffrey Brendecke wrote:
> > Thanks for the suggestion!
> >
> > I am in the process of recompiling qt to not load the qsqlite driver as a
> > plugin. If I still have problems I will give what you suggest a try.
> >
> > I have seen through some searches on the Internet a number of cases of
> > develpers having issues loading db drivers as plugins at runtime, and not
> > many examples of the problems having been resolved.
> >
> > -----------
> > On Monday 13 July 2009 20:08:52 David Ching wrote:
> >
> >> "Jeffrey Brendecke" <jwbrendecke at icanetix.com> wrote in message
> >> news:200907131850.18784.jwbrendecke at icanetix.com...
> >>
> >>
> >>> 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
> >>>
> >> Aw, I thought it was going to be easy!  ;)
> >>
> >> I had an issue with an imageformats plugin which I debugged by tracing
> into
> >> the Qt code that attempted to load the plug-in and saw where it was
> >> failing. Perhaps you could do that here.
> >>
> >> Since you're using VC2005, you have a first class GUI debugger!  :-)
> >>
> >> Thanks,
> >> David
> >>
> >> _______________________________________________
> >> Qt-interest mailing list
> >> Qt-interest at trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-interest
> >>
> >
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
> >
> Sometimes setting the env variable QT_DEBUG_PLUGINS=1 and running the
> app helps to track down the issue. if you're not compiling against an
> external sqlite, then there should be nothing missing dll wise. Maybe
> grab a copy of depends.exe and run it on the target system? Sometimes
> that shows up missing dlls that cause load failures.
>
> G'luck :)
>
> --
> Bill King, Software Engineer
> Qt Software, Nokia Pty Ltd
> Brisbane Office
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Tiago Correia
chief technology officer

cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090714/ef4e9c43/attachment.html 


More information about the Qt-interest-old mailing list