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

[macOS] Deployment target not detected for Qt Pdf

XMLWordPrintable

    • macOS

      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

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

            qt_webengine_team Qt WebEngine Team
            tiheikka Titta Heikkala
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes