-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.1
-
macOS 15.6.1, Xcode 16.2
It looks like the code for Qt Pdf is missing the proper handling of target macOS version. When configuring Qt with the option:
-DCMAKE_OSX_DEPLOYMENT_TARGET="13.2"
The result is a linker warning while building Qt:
ld: warning: object file (qtbase/lib/QtPdf.framework/Versions/A/QtPdf[2](Pdf_objects.o)) was built for newer 'macOS' version (15.0) than being linked (13.2)
Full configure used:
../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