This is an overarching task for QML Bindings for the different frameworks because I found none.
I think for types that we want to have exposed to QML the new macros added in Qt 5.15 can be helpful, where you do not have to register the types manually.
The macros are only available if you build with QML but I am imagining that we would define then the relevant macros to be empty if one builds without QML.
The only caveat is that with Qt5 it only works when using qmake but should work with CMake in Qt6.
See
https://www.qt.io/blog/qml-type-registration-in-qt-5.15 and
https://doc-snapshots.qt.io/qt6-dev/qqmlengine.html#QML_ADDED_IN_MINOR_VERSION and folllowing macros
If I am reading https://doc-snapshots.qt.io/qt6-dev/qtqml-modules-cppplugins.html correctly one needs to still create a plugin but at least it would save all the qmlRegister[]Type