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

cmake can't find configuration file for QtPDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Packaging & Installer, PDF
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
    • Platform/s:
      Linux/X11

      Description

      I looked forward to test the new components to show PDF. So I install Qt5.15 from the maintenance tool. I tried to compile with QtPdf.

      In my CMakeLists.txt file, I add "Pdf" on the find_package line.

       

       

      find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets Gui Svg Network Multimedia PrintSupport Qml Quick QuickWidgets Xml WebEngineWidgets Concurrent Pdf)
      

       

       

      And cmake does not find any config file. There is no Qt5Pdf directory inside /my/install/of/Qt/5.15.0/gcc_64/lib/cmake/.

      All other Qt modules have a directory there, but Qt5Pdf.

       

       

      Regards.

       

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              releaseteam Qt Release Team
              Reporter:
              renaud Renaud Guezennec
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes