Compiling postgresql plugin
-
Hi all,
I'm trying to compile the postgresql plugin on Linux, but I'm having a few problems. First of all my setup:@$ ls /usr/lib/libpq*
/usr/lib/libpq.a /usr/lib/libpq.so /usr/lib/libpq.so.5 /usr/lib/libpq.so.5.2$ pg_config --includedir
/usr/include/postgresql@
Now when I try to compile the library from the plugin/sqldrivers/psql directory I got:
@
$ qmake "INCLUDEPATH+=/usr/postgresql/include" "LIBS+=-L/usr/lib -lpq" psql.pro
qpluginbase.pri:10: Unknown replace function: qtLibraryTarget
@I'm using Qt 4.7.4 and Postgresql 8.4. Moreover, is there a binary driver available as plugin to install?