Do you have libpq-fe.h header somewhere on your system? Maybe you have to install some additional package like postgresql-devel?
Do you have libpq-fe.h header somewhere on your system? Maybe you have to install some additional package like postgresql-devel?
yes: /usr/include/postgresql/libpq-fe.h
libpq-dev is installed, I also tried to compile with
make -I /usr/include/postgresql/
Last edited by vieraci; 6th October 2007 at 01:58.
You have to pass the include path to qmake already. Can you show us the qmake line you tried using to compile the postgres plugin?
"If you lie to the compiler, it will get its revenge." - Henry Spencer
vieraci (7th October 2007)
OK, I see where I went wrong,
qmake -o Makefile "INCLUDEPATH+=/usr/include/pgsql" "LIBS+=-L/usr/lib -lpq" psql.pro
My INCLUDEPATH was invalid.
Thanks,
Bookmarks