Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.2.1
-
None
-
Mac OS X 10.8.5, Latest Xcode, Qt 5.2.1 binary distribution,
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>