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

Apps using QCamera crash when sandboxed on Mac OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.0
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Mac OS X 10.8.5, Latest Xcode, Qt 5.2.1 binary distribution,
    • Platform/s:
      macOS

      Description

      System: Mac OS X 10.8.5, Qt 5.2.1

      Compile the camera example the comes with Qt source. Sandboxing it by creating a self-signed certificate (call it "SandBoxTest", for example), run these commands in console:

      macdeployqt camera.app
      codesign -f --entitlements entitlements.plist -s "SandBoxTest" camera.app

      Run camera.app, it crashes.

      The content of entitlements.plist is the following:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      <key>com.apple.security.app-sandbox</key>
      <true/>
      <key>com.apple.security.camera</key>
      <true/>
      </dict>
      </plist>

        Attachments

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

          Activity

            People

            Assignee:
            ylopes Yoann Lopes
            Reporter:
            rushmore RushMore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes