File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Imports/ArcGIS/Runtime/Toolkit/Dialogs.2.0 Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,33 @@ import QtQuick 2.5
4040 \li PKI (ClientCertificateView)
4141 \li SSL Handshake Warnings (SslHandshakeView)
4242 \endlist
43+
44+ \note OAuth 2.0 uses a WebView, and in Qt, certain platforms
45+ fall back to use the WebEngine. Because of this, it is advised
46+ that you add the following lines to your project's .pro file
47+ and main.cpp when using the AuthenticationView:
48+
49+ *.pro:
50+ \code
51+ qtHaveModule(webengine) {
52+ QT += webengine
53+ DEFINES += QT_WEBVIEW_WEBENGINE_BACKEND
54+ }
55+ \endcode
56+
57+ main.cpp:
58+ \code
59+ #ifdef QT_WEBVIEW_WEBENGINE_BACKEND
60+ #include <QtWebEngine>
61+ #endif // QT_WEBVIEW_WEBENGINE_BACKEND
62+ \endcode
63+
64+ main.cpp:
65+ \code
66+ #ifdef QT_WEBVIEW_WEBENGINE_BACKEND
67+ QtWebEngine::initialize();
68+ #endif // QT_WEBVIEW_WEBENGINE_BACKEND
69+ \endcode
4370*/
4471Item {
4572 id: authView
You can’t perform that action at this time.
0 commit comments