Details
Description
After calling qmlClearTypeRegistrations, the application goes into an infinite loop when trying to re-open a QQmlEngine.
The infinite loop is in QQmlValueTypeProvider::metaObjectForMetaType(int type) (see qqmlglobal.cpp).
Seems like this has already been fixed for qtquickcontrols2 here https://bugreports.qt.io/browse/QTBUG-32078