Important: Please read the Qt Code of Conduct -

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 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!!
    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