-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
macOS 15.6.1
Xcode 16.2
-
-
a9bb185ad (dev), 96bbf3f83 (6.10), 47245881f (6.8)
After configuring Qt with the following options and building Qt:
../configure -debug -prefix /usr/local/Qt-6.9.1-pdf-target-13.2-debug -verbose -static -nomake examples -nomake tests -no-sbom -skip qtspeech -opengl desktop -no-feature-ffmpeg -- -DCMAKE_OSX_DEPLOYMENT_TARGET="13.2" -DCMAKE_OSX_ARCHITECTURES="arm64" -Wno-dev
applications using QtPdf will report linking error:
ld: library 'GnObject_Pdf_Debug' not found
It seems qtwebengine/cmake/Functions.cmake has related code:
add_library(GnObject_${cmakeTarget}_${config} OBJECT IMPORTED GLOBAL) target_link_libraries(${cmakeTarget} PRIVATE $<$<CONFIG:${config}>:GnObject_${cmakeTarget}_${config}>) set_property(TARGET GnObject_${cmakeTarget}${config} PROPERTY IMPORTED_OBJECTS${cfg} ${objects_out})
For Gerrit Dashboard: QTBUG-140032 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
682880,3 | CMake: Fix ld: library 'GnObject_Pdf_Debug' not found error | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
683412,2 | CMake: Fix ld: library 'GnObject_Pdf_Debug' not found error | 6.10 | qt/qtwebengine | Status: MERGED | +2 | 0 |
683600,2 | CMake: Fix ld: library 'GnObject_Pdf_Debug' not found error | 6.8 | qt/qtwebengine | Status: MERGED | +2 | 0 |