For qmlRegisterType