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

PostgreSQL plugin not build in CMake build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1.0 Alpha
    • 6.0.0
    • Build System: CMake
    • None
    • Linux/X11
    • 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

            semlanik Alexey Edelev
            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