Re: [GENERAL] trying to use libpq in Ubuntu

2010-09-21 Thread Joshua J. Kugler
On Tuesday 21 September 2010, Henri De Feraudy elucidated thus: > Hello, > I have developed an application in C++ under Qt in Windows XP, now I > would like to port it to Ubuntu GNU/Linux. > Choosing the libraries in Windows was a piece of cake: the bottom of > my Qt qmake project file was > win3

Re: [GENERAL] trying to use libpq in Ubuntu

2010-09-21 Thread Daniel Verite
Henri De Feraudy wrote: > linux-g++ { > LIBS += /usr/lib/libpq.a >INCLUDEPATH += /usr/include/postgresql > } Try: linux-g++ { LIBS += -lpq INCLUDEPATH += /usr/include/postgresql } Also make sure that you have the libpq-dev package installed. Best regards, -- Daniel Pos

[GENERAL] trying to use libpq in Ubuntu

2010-09-21 Thread Henri De Feraudy
Hello, I have developed an application in C++ under Qt in Windows XP, now I would like to port it to Ubuntu GNU/Linux. Choosing the libraries in Windows was a piece of cake: the bottom of my Qt qmake project file was win32 { LIBS += "C:\Progra~1\PostgreSQL\8.4\lib\libpq.lib" INCLUDEPA