• 2e902799df6298ad4c75b4c565a0baf9cb7f7ab8 (Qt 5) 37212b8c063b456b036f87841e596ee7d857052f (4.8)

      This is somewhat language/framework independent, as it mostly has to do with providing an XML
      "entitlements" configuration file (which goes into the application bundle) and
      code-signing your binaries/bundle.

      http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/

      For instance you can grant your application the right to read/write files as
      specified by the user (via file dialog). From the Apple docs:

      "Any time an application running inside a sandbox invokes an NSOpenPanel or
      NSSavePanel dialog, rather than showing the panels directly, AppKit
      automatically asks the Powerbox to present the dialog. From a developer
      perspective, there are no code changes required in terms of how these panels are
      used; this process is fully transparent."

      So as long as Qt/Mac would use NSOpenPanel etc. properly there should be no code
      changes required - in theory!

      In practice I found out that Qt crashes as soon as I request a (native!) file
      dialog. Details here (unfortunately I received no answers yet):

      http://lists.qt.nokia.com/pipermail/qt-interest/2011-August/035597.html

        1. CreateCodeSignCertificate.png
          24 kB
          Oliver Knoll
        2. ProcessMonitorSandboxed.png
          39 kB
          Oliver Knoll
        3. MacSandboxStackTrace.txt
          44 kB
          Oliver Knoll
        4. CertificateAssistant.png
          43 kB
          Oliver Knoll
        5. MacSandbox.zip
          67 kB
          Oliver Knoll
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            pamatila Pasi Matilainen (Inactive)
            sorvig Morten Sørvig
            Votes:
            37 Vote for this issue
            Watchers:
            37 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes