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

Qt PDF: Static build fails on macOS

    XMLWordPrintable

Details

    • macOS
    • d4183db69b (qt/qtwebengine/6.3) a3bca83e08 (qt/qtwebengine/6.2) a3bca83e08 (qt/tqtc-qtwebengine/6.2) d4183db69b (qt/tqtc-qtwebengine/6.3) d4183db69b (qt/tqtc-qtwebengine/6.2) 88a91f8b30 (qt/qtwebengine/6.3.1) 88a91f8b30 (qt/tqtc-qtwebengine/6.3.1)

    Description

      Building Qt PDF statically fails on macOS with the following error:

      [8864/8901] Linking CXX static library qtbase/lib/libQt6Pdf.a
      FAILED: qtbase/lib/libQt6Pdf.a 
      : && /usr/local/Cellar/cmake/3.23.1/bin/cmake -E rm -f qtbase/lib/libQt6Pdf.a && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qcS qtbase/lib/libQt6Pdf.a @/Users/dev/qt-build/qt-6.3.0/qtwebengine/src/pdf/Release/x86_64/QtPdf_objects.rsp qtwebengine/src/pdf/CMakeFiles/Pdf.dir/Pdf_autogen/mocs_compilation.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfbookmarkmodel.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfdestination.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfdocument.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdflinkmodel.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfpagenavigation.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfpagerenderer.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfsearchmodel.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfsearchresult.cpp.o qtwebengine/src/pdf/CMakeFiles/Pdf.dir/qpdfselection.cpp.o && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -no_warning_for_no_symbols qtbase/lib/libQt6Pdf.a && /usr/local/Cellar/cmake/3.23.1/bin/cmake -E touch qtbase/lib/libQt6Pdf.a && :
      ar: @/Users/dev/qt-build/qt-6.3.0/qtwebengine/src/pdf/Release/x86_64/QtPdf_objects.rsp: No such file or directory
      ninja: build stopped: subcommand failed.
      Error building, execution stopped.
      

      michal found out that @file is not supported by the macOS archiver.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes