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

Misleading error messages when using macdeployqt on AppleSilicon Macs

XMLWordPrintable

    • macOS

      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):

       

       

        For Gerrit Dashboard: QTBUG-98466
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes