[Qt-interest] QPSQL available, but QPSQL not loaded

Jason H scorp1us at yahoo.com
Fri Jun 3 14:15:05 CEST 2011


You can use the tool depends.exe to find missing depenencies, and see how the satisfied ones are satisfied.




________________________________
From: Carel Combrink <carel.combrink at gmail.com>
To: Oluwafemi A <wordbased.1 at gmail.com>
Cc: qt-interest at qt.nokia.com
Sent: Friday, June 3, 2011 4:58 AM
Subject: Re: [Qt-interest] QPSQL available, but QPSQL not loaded


Hi,

I had the same problem a while back. What I can remember is:

Your application needs to be able to get the following dlls so that you can use the QPSQL driver.
ssleay32.dll
msvcr71.dll
libpq.dll
libintl-8.dll
libiconv-2.dll
libeay32.dll

If I remember correctly I copied it into the same folder as the application exe. 
You could probably point your PATH variable to it but I have not tried this.

Hope this helps,
Carel


On Thu, Jun 2, 2011 at 11:20 PM, Oluwafemi A <wordbased.1 at gmail.com> wrote:

Hi, i'm building a postgresql-backed application, but QSqlDatabase::drivers(); returns QSQLITE QPSQL7 QPSQL 
>but QSqlDatabase::addDatabase("QPSQL");
>returns driver not loaded driver not loaded........................any help would be appreciated
>
>
>i dont have problem on linux, but this issue arises on windows, Qt 4.7.3 and PostgreSQL 8.4.8
>_______________________________________________
>Qt-interest mailing list
>Qt-interest at qt.nokia.com
>http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>

_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110603/0e123712/attachment.html 


More information about the Qt-interest-old mailing list