Connecting qt to postgresql working on archlinux
Installation and Deployment
1
Posts
1
Posters
1.1k
Views
1
Watching
-
wrote on 27 Dec 2012, 21:07 last edited by
hy to all
I'm having some serious trouble connecting postgresql to qt.
I installed the unixODBC driver, but I have no.
my qtdir is /usr/lib/qt
but in qt folder there is no /usr/ folder, just import and plugins. and in my sqldrivers folder there is no odbc file but only libqsqlodbc.so file!
i'm refering to this example
@ cd $QTDIR/src/plugins/sqldrivers/odbc
qmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc"
make@
taken from this link http://qt-project.org/doc/qt-4.8/sql-driver.html#qodbc!!
when i run make, the terminal tells me that make has no target and there is no makefile!
sorry if the question sound stupid but i'm quite a linux newbie!!
thank's for your help
dany
1/1