summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2016-01-08 15:57:44 +0100
committerChristian Stromme <christian.stromme@theqtcompany.com>2016-03-02 13:28:18 +0000
commit3c4160d820be113ab54cf391d085397982613f7a (patch)
tree593fa27df38353a3ae85e322c9dd6acdb62de2cd
parentf05e6784c7667d476b9ccde4be3568cfd6b2022d (diff)
Doc: Add note about qrc support.
Loading content through the Qt Resource System is not supported by us or the different backends, so we should document it as a limitation. Task-number: QTBUG-49698 Change-Id: Ibe237987682894957cb34778389fc4ffb3facdb2 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-rw-r--r--src/webview/qquickwebview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview/qquickwebview.cpp b/src/webview/qquickwebview.cpp
index 8a97d80..ce189db 100644
--- a/src/webview/qquickwebview.cpp
+++ b/src/webview/qquickwebview.cpp
@@ -111,6 +111,8 @@ QQuickWebView::~QQuickWebView()
The URL is used as-is. URLs that originate from user input should
be parsed with QUrl::fromUserInput().
+
+ \note The WebView does not support loading content through the Qt Resource system.
*/
void QQuickWebView::setUrl(const QUrl &url)
@@ -253,6 +255,8 @@ void QQuickWebView::stop()
is the base URL, then an image referenced with the relative url, \c diagram.png,
should be at \c{http://www.example.com/documents/diagram.png}.
+ \note The WebView does not support loading content through the Qt Resource system.
+
\sa url
*/
void QQuickWebView::loadHtml(const QString &html, const QUrl &baseUrl)