Style Selector and declarative type registration
in kirigamiplugin.cpp we use qmlRegisterType to register QML files. We do this to select different QML files based on the selected style.
This is, somewhat fundamentally, incompatible with the new declarative type registration where things must be known at compile-time. Pretty much all new stuff in QML (scriptcompiler/typecompiler, tooling stuff, LSP etc) is based on that. Not being able to use declarative type registration would therefore probably be a huge hurdle moving forward with adopting modern QML practices.