Qt World Summit: Register Today!

Connecting qt to postgresql working on archlinux

  • 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"
    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

Log in to reply