Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, January 2007
Antw: Re: Driver not loaded when deploying app


Message 1 in thread

Gosh, i was too stupid to read your email carefully. I put the dll files
in appdir/plugins instead of in appdir/sqldrivers. Now it's working!

Thanks all!

Christian Rengstl M.A.
Klinik und Poliklinik fÃr Innere Medizin II
Kardiologie - Forschung
UniversitÃtsklinikum Regensburg
B3 1.388
Franz-Josef-Strauss-Allee 11
93053 Regensburg
Tel.: +49-941-944-7230

>>> amit <pom2@xxxxxxxxxxxxxxxx> 25.01.07 14.15 Uhr >>>
On Thursday 25 January 2007 12:44, Thomas DÃhling wrote:

Hi,

I had something similar and stumbled across a post which suggested 

<appdir>/sqldrivers rather than <appdir>/plugins/sqldrivers

That fixed it for me with Qt4.2.1, sqlite on Windows 2000

A


> Ok, in short:
>
> - ensure that your qt and the qsqlpsql plugin have the same buildkey
(if
> you don't know what it is, you probably haven't used one anyway, so
you
> can skip this)
> - check if qsqlpsql.dll is placed in <appdir>/plugins/sqldrivers/
> - check if all libraries that qsqlpsql are placed in <appdir>/ (this
> inlcudes libpq.dll and its dependencies, like libiconv-2.dll and so
on)
>
> Then it should work. I can only imagine that you missed to add a
> required library to the correct directory.
>
> Christian Rengstl schrieb:
> > With all *.dll files i actually meant all sqldrivers that were
> > available. I did that only after it didn't work with only the dll
for
> > psql. Sorry about that...
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and
information:
> http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]