"configure -qt-sql-psql" problem
Hi, i use qt 4.3.3 opensource with mingw32 and win2k. After installing i tried the following:
configure -qt-sql-psql -I H:\PostgreSQL\8.2\include -L H:\PostgreSQL\8.2\lib\ms
.
.
(OK)
mingw32-make
.
.
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,h:\Qt\4.3.3\lib\libQtSqld4.a -o ..\..\
lib\QtSqld4.dll object_script.QtSqld.Debug -L"h:\Qt\4.3.3\lib" -L"h:\Qt\4.3.3\l
ib" tmp\obj\debug_shared\QtSqld_resource_res.o -LH:\PostgreSQL\8.2\lib\ms -lpq -
lws2_32 -ladvapi32 -lQtCored4
H:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lpq
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\lib\QtSqld4.dll] Error 1
mingw32-make[2]: Leaving directory `H:/Qt/4.3.3/src/sql'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `H:/Qt/4.3.3/src/sql'
mingw32-make: *** [sub-sql-make_default-ordered] Error 2
The path is ok and i do have the postgres dev files. Any idea?
thx