Introduce SharedQmlEngine class
Allows to drop the direct dependency on KDeclarative only used
for QmlObjectSharedEngine
outside of KCModuleQML
Signed-off-by: Eike Hein eike.hein@mbition.io
Building KCMs is optional already, libkwineffects is not. Plasma-Framework still pulls it in but removing that is next, which will then significantly reduce the number of dependencies KWin has.
Generally, moving code from Frameworks to consumer isn't what we want, but KDeclarative is quite massive, and we really only need that one specific feature in KWin core.