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

Mac OSX Frameworks Have Info.plist in Wrong Location: /Contents should be /Versions/4/Resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.8.5, 5.2.0
    • Fix Version/s: 5.4.0
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      XCode 4.6.1, OS X 10.7.5
    • Platform/s:
      macOS
    • Commits:
      f72dcff925deeacaef0b5252ac52097ddedd11c1 and deps

      Description

      Mac Qt Frameworks are incorrectly structured. They should not contain a /Contents directory. The Info.plist should be located inside /Versions/4/Resources and there should be a sym link from /Resources -> /Versions/4/Resources

      The structure of a framework is described here:

      http://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html

      Notice that that document does not mention a "/Contents" directory.

      The incorrect structure makes it impossible to correctly code sign a Qt Framework. I will file a separate bug for that.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              rossb Ross Bencina
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes