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

Misleading error messages when using macdeployqt on AppleSilicon Macs

    XMLWordPrintable

Details

    • macOS

    Description

      Using `macdeployqt` on a Mac with M1 SoC produces a working, fixed bundle as expected.

      However it also throws a few pages of error messages which seem completely irrelevant and not actual errors:

       

      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtGui.framework/Versions/A/QtGui (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtWidgets.framework/Versions/A/QtWidgets (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtGui.framework/Versions/A/QtGui (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/tmp/myapp/cmake-build-debug/install/MyApp.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtDBus.framework/Versions/A/QtDBus (architecture arm64):"
      ERROR: Could not parse otool ouput line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtGui.framework/Versions/A/QtGui (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtDBus.framework/Versions/A/QtDBus (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/tmp/myapp/cmake-build-debug/install/MyApp.app/Contents/Frameworks/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/tmp/myapp/cmake-build-debug/install/MyApp.app/Contents/Frameworks/QtDBus.framework/Versions/A/QtDBus (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtDBus.framework/Versions/A/QtDBus (architecture arm64):"
      ERROR: Could not parse otool output line: "/Users/myuser/Qt/6.2.1/macos/lib/QtCore.framework/Versions/A/QtCore (architecture arm64):

       

       

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            rkoecher Rene Koecher
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes