[Qt-interest] QSQL - Problem to load QSQLPSQL with qt 2009.02

Mhayk Whandson eu at mhayk.com.br
Sun Jun 21 01:30:35 CEST 2009


I managed to fix the problem editing the file C:\Qt\2009.02\bin\qtenv.bat:

set
PATH=%PATH%;C:\Qt\2009.02\bin;C:\Qt\2009.02\mingw\bin;C:\PostgreSQL\8.3\bin;C:\PostgreSQL\8.3\lib

What do you think ?

best regards.

On Sat, Jun 20, 2009 at 11:15 AM, Mhayk Whandson <eu at mhayk.com.br> wrote:

> Hi Thiago,
>
> I built the release version and the problem continue:
>
> Starting C:/Users/mhayk/Desktop/dsm/src/release/dsm.exe...
>
> QSqlDatabase: QPSQL driver not loaded
>
> QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
>
> QSqlQuery::exec: database not open
>
> C:/Users/mhayk/Desktop/dsm/src/release/dsm.exe exited with code 0
>
>
> What do you think ? :(
>
>
> best regards.
>
>
> On Sat, Jun 20, 2009 at 11:08 AM, Thiago Macieira <
> thiago.macieira at trolltech.com> wrote:
>
>> Mhayk Whandson wrote:
>> >Starting C:/Users/mhayk/Desktop/dsm/src/debug/dsm.exe...
>>
>> >20/06/2009  02:57           103.424 qsqlpsql4.dll
>>
>> You're running a debug version of your application. The plugin above is
>> the release version.
>>
>> You have to build the debug version of the plugin too. Or you have to run
>> the release version of your program.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) nokia.com
>>  Senior Product Manager - Nokia, Qt Software
>>      Sandakerveien 116, NO-0402 Oslo, Norway
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
>
> --
> Mhayk Whandson
> Linux User #413723
> E-mail: eu at mhayk.com.br
>



-- 
Mhayk Whandson
Linux User #413723
E-mail: eu at mhayk.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090620/038dc777/attachment.html 


More information about the Qt-interest-old mailing list