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. Compiling postgresql plugin
QtWS25 Last Chance

Compiling postgresql plugin

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.6k Views
  • 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.
  • F Offline
    F Offline
    fluca1978
    wrote on last edited by
    #1

    Hi all,
    I'm trying to compile the postgresql plugin on Linux, but I'm having a few problems. First of all my setup:

    @$ ls /usr/lib/libpq*
    /usr/lib/libpq.a /usr/lib/libpq.so /usr/lib/libpq.so.5 /usr/lib/libpq.so.5.2

    $ pg_config --includedir
    /usr/include/postgresql

    @

    Now when I try to compile the library from the plugin/sqldrivers/psql directory I got:

    @
    $ qmake "INCLUDEPATH+=/usr/postgresql/include" "LIBS+=-L/usr/lib -lpq" psql.pro
    qpluginbase.pri:10: Unknown replace function: qtLibraryTarget
    @

    I'm using Qt 4.7.4 and Postgresql 8.4. Moreover, is there a binary driver available as plugin to install?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Are you sure you are talking about a driver? Or are you talking about the postgree sql plugin for Qt?

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fluca1978
        wrote on last edited by
        #3

        Yeah, sorry, about the plugin.

        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