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/qdeclarativecomponent | |
parent | fab7cd962bc108a0f1f38ba0276aeae4f7f0399d (diff) | |
download | Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.zip Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.gz Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.bz2 |
Compile
Diffstat (limited to 'tests/benchmarks/declarative/qdeclarativecomponent')
-rw-r--r-- | tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp b/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp index acdc395..7bc6ca2 100644 --- a/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp +++ b/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp @@ -42,5 +42,5 @@ void registerTypes() { - QML_REGISTER_TYPE(Qt.test, 4, 6, MyQmlObject, MyQmlObject); + qmlRegisterType<MyQmlObject>("Qt.test", 4, 6, "MyQmlObject"); } |