From c3b2393e7a532a18d4971a878740b2a9b5830028 Mon Sep 17 00:00:00 2001 From: Yigit Akcay Date: Mon, 27 Mar 2023 16:32:42 +0200 Subject: 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. Pick-to: 6.5 Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen --- examples/webenginewidgets/maps/doc/src/maps.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples') 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 -- cgit v1.2.1