diff options
Diffstat (limited to 'tests/auto/declarative/qmlengine/tst_qmlengine.cpp')
-rw-r--r-- | tests/auto/declarative/qmlengine/tst_qmlengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlengine/tst_qmlengine.cpp b/tests/auto/declarative/qmlengine/tst_qmlengine.cpp index 5471691..8794af9 100644 --- a/tests/auto/declarative/qmlengine/tst_qmlengine.cpp +++ b/tests/auto/declarative/qmlengine/tst_qmlengine.cpp @@ -189,7 +189,7 @@ void tst_qmlengine::clearComponentCache() { QFile file("temp.qml"); QVERIFY(file.open(QIODevice::WriteOnly)); - file.write("import Qt 4.6\nObject {\nproperty int test: 10\n}\n"); + file.write("import Qt 4.6\nQtObject {\nproperty int test: 10\n}\n"); file.close(); } @@ -206,7 +206,7 @@ void tst_qmlengine::clearComponentCache() { QFile file("temp.qml"); QVERIFY(file.open(QIODevice::WriteOnly)); - file.write("import Qt 4.6\nObject {\nproperty int test: 11\n}\n"); + file.write("import Qt 4.6\nQtObject {\nproperty int test: 11\n}\n"); file.close(); } |