Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89639

PostgreSQL plugin not build in CMake build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.1.0 Alpha
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      e3e1fc482053587811f39dcc9d1be231df00f660 (qt/tqtc-qtbase/6.1)

      Description

      For building the postgresql plugin, Qt 5.15 just needs the postgresql client libraries.
      For Qt6, the CMake build needs the postgresql-server-dev-11 package in addition to be able to find the psql libraries.

      This is a problem in upstream CMake:
      https://gitlab.kitware.com/cmake/cmake/-/issues/17223

      Work-around: install the psql server dev package too (postgresql-server-dev-11 on Debian).

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            semlanik Alexey Edelev
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes