Hi guys,
i'have tried to compile QT with option -qt-sql-psql or -plugin-sql-psql but each time it fails!
I am using QT 4.1.0 on a win XP box, Postgresql 8.0.6, and MinGW as a compiler.
first i run :
configure -I C:\psql\8.0\include -qt-sql-psql
and it works fine! (at least without any error)
and then i run :
mingw32-make (to start compiling QT)
after several minutes it shows this error :
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lpq
collect2: ld returned 1 exit status
mingw32-make[3]: *** [..\..\lib\QtSqld4.dll] Error 1
can anyone help me?
Bookmarks