diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-12 05:53:21 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-12 05:53:21 (GMT) |
commit | feeda1e9febc1131fd8ed30633c9c5db7806b4fb (patch) | |
tree | 1cbb02c1fa8b7f61825f7ce9fca5fe8e3bbed286 /tests | |
parent | e16cc0cf7e50a63674a7e36169d0844af6ddb2ce (diff) | |
download | Qt-feeda1e9febc1131fd8ed30633c9c5db7806b4fb.zip Qt-feeda1e9febc1131fd8ed30633c9c5db7806b4fb.tar.gz Qt-feeda1e9febc1131fd8ed30633c9c5db7806b4fb.tar.bz2 |
Tweak benchmark
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/declarative/creation/tst_creation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/creation/tst_creation.cpp b/tests/benchmarks/declarative/creation/tst_creation.cpp index 47e4bb7..cd69cfe 100644 --- a/tests/benchmarks/declarative/creation/tst_creation.cpp +++ b/tests/benchmarks/declarative/creation/tst_creation.cpp @@ -104,7 +104,8 @@ void tst_creation::qobject_cpp() void tst_creation::qobject_qml() { - QDeclarativeComponent component(&engine, TEST_FILE("qobject.qml")); + QDeclarativeComponent component(&engine); + component.setData("import Qt 4.6\nQtObject {}", QUrl()); QObject *obj = component.create(); delete obj; |