summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginequick/quicknanobrowser/Info.cmake.macos.plist6
-rw-r--r--examples/webenginequick/quicknanobrowser/doc/src/quicknanobrowser.qdoc7
-rw-r--r--examples/webenginewidgets/simplebrowser/Info.cmake.macos.plist4
-rw-r--r--examples/webenginewidgets/simplebrowser/doc/src/simplebrowser.qdoc7
4 files changed, 23 insertions, 1 deletions
diff --git a/examples/webenginequick/quicknanobrowser/Info.cmake.macos.plist b/examples/webenginequick/quicknanobrowser/Info.cmake.macos.plist
index 8aa89c9ea..cac4fa1f4 100644
--- a/examples/webenginequick/quicknanobrowser/Info.cmake.macos.plist
+++ b/examples/webenginequick/quicknanobrowser/Info.cmake.macos.plist
@@ -27,6 +27,10 @@
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSLocationUsageDescription</key>
- <string>Quick Nanobrowser would like to give web sites access to your location for demo purposes.</string>
+ <string>Quick Nano Browser would like to give web sites access to your location for demo purposes.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>Quick Nano Browser would like to give web sites access to your computer's microphone for demo purposes.</string>
+ <key>NSCameraUsageDescription</key>
+ <string>Quick Nano Browser would like to give web sites access to your computer's camera for demo purposes.</string>
</dict>
</plist>
diff --git a/examples/webenginequick/quicknanobrowser/doc/src/quicknanobrowser.qdoc b/examples/webenginequick/quicknanobrowser/doc/src/quicknanobrowser.qdoc
index 3222a69ee..8f72e67cd 100644
--- a/examples/webenginequick/quicknanobrowser/doc/src/quicknanobrowser.qdoc
+++ b/examples/webenginequick/quicknanobrowser/doc/src/quicknanobrowser.qdoc
@@ -168,6 +168,13 @@
\skipto function init(request)
\printuntil }
+ \section1 Signing Requirement for macOS
+
+ To allow web sites access to the location, camera, and microphone when running
+ \e {Quick Nano Browser} on macOS, the application needs to be signed. This is
+ done automatically when building, but you need to set up a valid signing identity
+ for the build environment.
+
\section1 Files and Attributions
The example uses icons from the Tango Icon Library:
diff --git a/examples/webenginewidgets/simplebrowser/Info.cmake.macos.plist b/examples/webenginewidgets/simplebrowser/Info.cmake.macos.plist
index 76f747719..7abb7e01a 100644
--- a/examples/webenginewidgets/simplebrowser/Info.cmake.macos.plist
+++ b/examples/webenginewidgets/simplebrowser/Info.cmake.macos.plist
@@ -28,5 +28,9 @@
<true/>
<key>NSLocationUsageDescription</key>
<string>Simple Browser would like to give web sites access to your location for demo purposes.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>Simple Browser would like to give web sites access to your computer's microphone for demo purposes.</string>
+ <key>NSCameraUsageDescription</key>
+ <string>Simple Browser would like to give web sites access to your computer's camera for demo purposes.</string>
</dict>
</plist>
diff --git a/examples/webenginewidgets/simplebrowser/doc/src/simplebrowser.qdoc b/examples/webenginewidgets/simplebrowser/doc/src/simplebrowser.qdoc
index 128ba57e5..6fc807400 100644
--- a/examples/webenginewidgets/simplebrowser/doc/src/simplebrowser.qdoc
+++ b/examples/webenginewidgets/simplebrowser/doc/src/simplebrowser.qdoc
@@ -346,6 +346,13 @@
dialog accordingly. See \c webview.cpp and \c webauthdialog.cpp for an example
of how these signals can be handled.
+ \section1 Signing Requirement for macOS
+
+ To allow web sites access to the location, camera, and microphone when running
+ \e {Simple Browser} on macOS, the application needs to be signed. This is
+ done automatically when building, but you need to set up a valid signing identity
+ for the build environment.
+
\section1 Files and Attributions
The example uses icons from the Tango Icon Library: