Qml Register Type, When I comment out the qmlRegisterType<StatusBar> line the build finishes successful.