registering a new QML type code example Example: registering a new QML type qmlRegisterType<MyClass>("MyClass", 1,0, "MyClass");