diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2016-05-25 16:07:54 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2016-05-26 07:29:32 +0000 |
commit | a92d964417bf1b4d5de720bae1157f2c9a870173 (patch) | |
tree | d9147bd44c11f98c1d78d6fe32a28327526a5425 | |
parent | 2a91ed5d421793e6b10b9bbb4b70676c47b4030b (diff) |
Doc: Copy info about initializing WebView to type overview
Enable automatic linking to Qt GUI module.
Task-number: QTBUG-53560
Change-Id: Id22a4a42c038dcbda939b170f9f7c0ae93d6b18b
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r-- | src/webview/doc/qtwebview.qdocconf | 2 | ||||
-rw-r--r-- | src/webview/qquickwebview.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/webview/doc/qtwebview.qdocconf b/src/webview/doc/qtwebview.qdocconf index ae7e25c..96cf19e 100644 --- a/src/webview/doc/qtwebview.qdocconf +++ b/src/webview/doc/qtwebview.qdocconf @@ -35,7 +35,7 @@ exampledirs += ../../../examples/webview imagedirs += images examplesinstallpath = webview -depends = qtcore qtdoc qtquick qtqml +depends = qtcore qtdoc qtgui qtquick qtqml Cpp.ignoretokens += Q_WEBVIEW_EXPORT diff --git a/src/webview/qquickwebview.cpp b/src/webview/qquickwebview.cpp index 1729f83..d760564 100644 --- a/src/webview/qquickwebview.cpp +++ b/src/webview/qquickwebview.cpp @@ -82,6 +82,10 @@ Q_GLOBAL_STATIC(CallbackStorage, callbacks) APIs on the platforms where this is available, thus it does not necessarily require including a full web browser stack as part of the application. + To make the Qt WebView module function correctly across all platforms, it is necessary + to call \l {qtwebview-initialize}{QtWebView::initialize}() right after creating the + QGuiApplication instance. + \note Due to platform limitations overlapping the WebView and other QML components is not supported. */ |