[Qt-interest] QPSQL available, but QPSQL not loaded
Carel Combrink
carel.combrink at gmail.com
Fri Jun 3 11:00:25 CEST 2011
The files mentioned in my previous mail are located in PostgreSQL's bin
folder. You can always just copy all of the dlls from there into the
applications folder
On Fri, Jun 3, 2011 at 10:58 AM, Carel Combrink <carel.combrink at gmail.com>wrote:
> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110603/333e7646/attachment.html
More information about the Qt-interest-old
mailing list