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

Static build of QtPdf references build paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.10
    • Build System: CMake, PDF
    • None
    • Linux/Yocto

    Description

      When building QtPdf statically, the resulting CMake files reference files from the build directory.

      lib/cmake/Qt6Pdf/Qt6PdfTargets.cmake:

      set_target_properties(Qt6::Pdf PROPERTIES
        COMPATIBLE_INTERFACE_STRING "QT_MAJOR_VERSION"
        INTERFACE_COMPILE_DEFINITIONS "QT_PDF_LIB"
        INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/QtPdf;${_IMPORT_PREFIX}/include"
        INTERFACE_LINK_LIBRARIES "Qt6::Core;Qt6::Gui;\$<LINK_ONLY:Qt6::Core>;\$<LINK_ONLY:>;\$<LINK_ONLY:Qt6::Network>;\$<LINK_ONLY:Qt6::PlatformModuleInternal>;\$<LINK_ONLY:\$<1:-Wl,--no-fatal-warnings \$<\$<CONFIG:Release>:@/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtpdf/6.11.0/build/src/pdf/Release/aarch64/QtPdf_ldir.rsp> \$<\$<CONFIG:Release>:@/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/qtpdf/6.11.0/build/src/pdf/Release/aarch64/QtPdf_libs.rsp> -Wl,--no-fatal-warnings>>" 

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes