summaryrefslogtreecommitdiffstats
path: root/examples/webview/minibrowser/doc/src/minibrowser.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webview/minibrowser/doc/src/minibrowser.qdoc')
-rw-r--r--examples/webview/minibrowser/doc/src/minibrowser.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/webview/minibrowser/doc/src/minibrowser.qdoc b/examples/webview/minibrowser/doc/src/minibrowser.qdoc
index 54b6c74..fc6887e 100644
--- a/examples/webview/minibrowser/doc/src/minibrowser.qdoc
+++ b/examples/webview/minibrowser/doc/src/minibrowser.qdoc
@@ -36,5 +36,11 @@
browsing experience. Besides the addressbar for the URL, it has a
couple of controls to navigate through the browsing history.
+ \note When using the Qt WebView module it is necessary to call QtWebView::initialize()
+ right after creating the QGuiApplication instance. Calling QtWebView::initialize() will
+ ensure that the necessary pre-setup steps are run.
+
+ \snippet minibrowser/main.cpp 0
+
\include examples-run.qdocinc
*/