Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.10
-
None
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>>"