how to share KConfig XT generated class with the config client?
Here explained how to generate configuration class with KConfig XT:
https://develop.kde.org/docs/configuration/kconfig_xt/
But important part IMO is how to share the declared settings with it's consumer itself.
It doesn't covered anywhere. Any solutions?
Having settings declared in KCM is just a half of the problem.
We also need a way to access generated classes from actual code using the settings.
The question is especially actual if we have config setter and user in different projects, e.g KCM in P-D and plasmashell in P-W.
Concrete case:
https://phabricator.kde.org/D25586#inline-172432
Edited by Andrey Butirsky