summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/maps/doc
diff options
context:
space:
mode:
authorYigit Akcay <yigit.akcay@qt.io>2023-03-27 16:32:42 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-04 14:49:32 +0000
commit7c280452dee4efc3367d85721680f888d37f46fc (patch)
tree13df5484a799447e8bd2d29546d5b9c17672f067 /examples/webenginewidgets/maps/doc
parentb443b7632afbde6be4657359e60d95b33d1093cf (diff)
Add Windows 11 related note for Geolocation settings
There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3b2393e7a532a18d4971a878740b2a9b5830028) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/webenginewidgets/maps/doc')
-rw-r--r--examples/webenginewidgets/maps/doc/src/maps.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/webenginewidgets/maps/doc/src/maps.qdoc b/examples/webenginewidgets/maps/doc/src/maps.qdoc
index 547572750..ad727e165 100644
--- a/examples/webenginewidgets/maps/doc/src/maps.qdoc
+++ b/examples/webenginewidgets/maps/doc/src/maps.qdoc
@@ -22,6 +22,12 @@
geolocation requests are denied by default. This example demonstrates the
steps an application must take in order to start accepting these requests.
+ \note On Windows 11, enable settings to grant the application access to
+ Windows location services. In the Settings App under
+ \uicontrol {Privacy & Security} > \uicontrol {Location}, enable \uicontrol
+ {Location services}, \uicontrol {Let apps access your location} and \uicontrol
+ {Let desktop apps access your location}.
+
\include examples-run.qdocinc
\section1 The Code