trying to use libpq in Ubuntu
| От | Henri De Feraudy |
|---|---|
| Тема | trying to use libpq in Ubuntu |
| Дата | |
| Msg-id | 434808.17847.qm@web110807.mail.gq1.yahoo.com обсуждение исходный текст |
| Ответы |
Re: trying to use libpq in Ubuntu
Re: trying to use libpq in Ubuntu |
| Список | pgsql-general |
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"
INCLUDEPATH += "C:\Progra~1\PostgreSQL\8.4\include"
}
linux-g++ {
LIBS += /usr/lib/libpq.a
INCLUDEPATH += /usr/include/postgresql
}
This works fine in Windows, but in Ubuntu there are more than a hundred undefined symbols, like references to ldap
Does anyone have a sample project file or suggestions?
Thankyou
Henri
В списке pgsql-general по дате отправления: