diff options
Diffstat (limited to 'examples/declarative/cppextensions/referenceexamples/properties/main.cpp')
-rw-r--r-- | examples/declarative/cppextensions/referenceexamples/properties/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/cppextensions/referenceexamples/properties/main.cpp b/examples/declarative/cppextensions/referenceexamples/properties/main.cpp index d037d88f20..421ce9fbaa 100644 --- a/examples/declarative/cppextensions/referenceexamples/properties/main.cpp +++ b/examples/declarative/cppextensions/referenceexamples/properties/main.cpp @@ -48,8 +48,10 @@ int main(int argc, char ** argv) { QCoreApplication app(argc, argv); +//![register list] qmlRegisterType<BirthdayParty>("People", 1,0, "BirthdayParty"); qmlRegisterType<Person>("People", 1,0, "Person"); +//![register list] QDeclarativeEngine engine; QDeclarativeComponent component(&engine, QUrl("qrc:example.qml")); |