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

cmake can't find configuration file for QtPDF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.15.0
    • Packaging & Installer, PDF
    • None
    • Ubuntu 18.04
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: