Hello everybody,

I am trying to compile psqlpsql.dll and i get following error:
Qt Code:
  1. D:\Apps\MINGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: canno
  2. t find -lpq
  3. collect2: ld returned 1 exit status
  4. mingw32-make[1]: *** [d:\Apps\Qt\4.2.3\plugins\sqldrivers\qsqlpsql.dll] Error 1
  5. mingw32-make[1]: Leaving directory `D:/apps/Qt/4.2.3/src/plugins/sqldrivers/psql
  6. '
  7. mingw32-make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode 
I am trying like this:
Qt Code:
  1. D:\apps\Qt\4.2.3\src\plugins\sqldrivers\psql>qmake -o Makefile "INCLUDEPATH+=D:\
  2. apps\PostgreSQL\8.1\include D:\apps\PostgreSQL\8.1\include\libpq" psql.pro
To copy to clipboard, switch view to plain text mode 
Can somebody see whats wrong?

Thanks