Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Connecting qt to postgresql working on archlinux
Qt 6.11 is out! See what's new in the release blog

Connecting qt to postgresql working on archlinux

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sax94
    wrote on last edited by
    #1

    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 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved