aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/creation/tst_creation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/declarative/creation/tst_creation.cpp')
-rw-r--r--tests/benchmarks/declarative/creation/tst_creation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/creation/tst_creation.cpp b/tests/benchmarks/declarative/creation/tst_creation.cpp
index d920ff1682..809271e4d2 100644
--- a/tests/benchmarks/declarative/creation/tst_creation.cpp
+++ b/tests/benchmarks/declarative/creation/tst_creation.cpp
@@ -125,7 +125,7 @@ void tst_creation::qobject_cpp()
void tst_creation::qobject_qml()
{
QDeclarativeComponent component(&engine);
- component.setData("import QtQuick 1.0\nQtObject {}", QUrl());
+ component.setData("import QtQuick 2.0\nQtObject {}", QUrl());
QObject *obj = component.create();
delete obj;