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

Diego Schulz dschulz at gmail.com
Sun Jun 21 02:26:24 CEST 2009


On Sat, Jun 20, 2009 at 7:30 PM, Mhayk Whandson<eu at mhayk.com.br> wrote:
> 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.
>

You can also copy all the postgresql dlls (usually located in the
'lib' directory in the postgresql installation path, IIRC) in the same
directory your recently built executable resides. Then you can build a
self-installing package for your application with those dlls included.

regards,

diego



More information about the Qt-interest-old mailing list