diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-17 05:59:46 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-17 05:59:46 (GMT) |
commit | 0a52765f1c7fbd7d5286bcaab32cff35feb89a95 (patch) | |
tree | dfe782368fe77de9e1fd4d9bcd463565b6d1ae45 /tests/benchmarks/declarative/script | |
parent | fab7cd962bc108a0f1f38ba0276aeae4f7f0399d (diff) | |
download | Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.zip Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.gz Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.bz2 |
Compile
Diffstat (limited to 'tests/benchmarks/declarative/script')
-rw-r--r-- | tests/benchmarks/declarative/script/tst_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/script/tst_script.cpp b/tests/benchmarks/declarative/script/tst_script.cpp index 9dd4076..8ea6dcd 100644 --- a/tests/benchmarks/declarative/script/tst_script.cpp +++ b/tests/benchmarks/declarative/script/tst_script.cpp @@ -144,7 +144,7 @@ int TestObject::x() void tst_script::initTestCase() { - QML_REGISTER_TYPE(Qt.test, 1, 0, TestObject, TestObject); + qmlRegisterType<TestObject>("Qt.test", 1, 0, "TestObject"); } |