summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2014-05-30 05:46:33 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 00:23:00 +0200
commita81880e62c388c8840417a6cec1c67f43d4b5fd9 (patch)
tree4e4b98c6ee69854cd4d5040c67351c0595249835 /tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
parent4f195e3b634b2cb96e6f74d8b9d90f77a44830f5 (diff)
Fix import versions in the Quick tests
Change-Id: I5f16a2f824112bdfa2c50b3e4d93d6d47e34ba1b Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp')
-rw-r--r--tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp b/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
index 2595514a7..38a43f3b6 100644
--- a/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
+++ b/tests/auto/quick/qquickwebviewgraphics/tst_qquickwebviewgraphics.cpp
@@ -172,7 +172,7 @@ void tst_QQuickWebViewGraphics::reparentToOtherWindow()
void tst_QQuickWebViewGraphics::setHtml(const QString &html)
{
QString htmlData = QUrl::toPercentEncoding(html);
- QString qmlData = QUrl::toPercentEncoding(QStringLiteral("import QtQuick 2.0; import QtWebEngine 1.0; WebEngineView { width: 150; height: 150; url: loadUrl }"));
+ QString qmlData = QUrl::toPercentEncoding(QStringLiteral("import QtQuick 2.0; import QtWebEngine 0.9; WebEngineView { width: 150; height: 150; url: loadUrl }"));
m_view->rootContext()->setContextProperty("loadUrl", QUrl(QStringLiteral("data:text/html,%1").arg(htmlData)));
m_view->setSource(QUrl(QStringLiteral("data:text/plain,%1").arg(qmlData)));
m_view->create();