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

Oluwafemi A wordbased.1 at gmail.com
Fri Jun 3 18:15:32 CEST 2011


---------- Forwarded message ----------
From: Oluwafemi A <wordbased.1 at gmail.com>
Date: Fri, Jun 3, 2011 at 5:14 PM
Subject: Re: [Qt-interest] QPSQL available, but QPSQL not loaded
To: Carel Combrink <carel.combrink at gmail.com>


Yeah, it worked.......................thanks to all


On Fri, Jun 3, 2011 at 1:25 PM, Carel Combrink <carel.combrink at gmail.com>wrote:

> I think that is how I figured it out. Neither the Qt Debugging information
> nor the documentation said that the problem to "driver not loaded driver not
> loaded" could be related to missing dlls when the driver is listed in the
> available drivers.
>
>
> On Fri, Jun 3, 2011 at 2:15 PM, Jason H <scorp1us at yahoo.com> wrote:
>
>> 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/b01dcdb6/attachment.html 


More information about the Qt-interest-old mailing list