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

6.7.2 qtbase: missing cups dependency in Qt6PrintSupport.pc and Qt6PrintSupport cmake modules

    XMLWordPrintable

Details

    • Linux/X11
    • 30bb15e7b (dev), d3caab52e (6.8), 40b2c8ff2 (6.7), edacb6235 (tqtc/lts-6.5)

    Description

      Building  xdg-desktop-portal-kde 6.1.0 with I found that build fails because missing cups header file

      In file included from /usr/include/qt6/QtPrintSupport/6.7.2/QtPrintSupport/private/qcups_p.h:19,
                       from /home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/src/print.cpp:25:
      /usr/include/qt6/QtPrintSupport/6.7.2/QtPrintSupport/private/qprint_p.h:26:10: fatal error: cups/ppd.h: No such file or directory
         26 | #include <cups/ppd.h>  // Use for type defs only, don't want to actually link in main module
            |          ^~~~~~~~~~~~
      compilation terminated. 

      Issue is that none of the Qt6QtPrintSupport cmake or pkgconfig file contains cups dependency.

      Something needs to be added to src/printsupport/CMakeLists.txt to add that dependency

       

      Attachments

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes