Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Compiling postgresql plugin

    Installation and Deployment
    2
    3
    2355
    Loading More Posts
    • 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
      fluca1978 last edited by

      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 Reply Quote 0
      • G
        giesbert last edited by

        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 Reply Quote 0
        • F
          fluca1978 last edited by

          Yeah, sorry, about the plugin.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post