This requires default constructability and a meta type declaration. The
use-case for this is to expose a KColorScheme instance to Grantlee.
Details
Details
- Reviewers
dfaure - Maniphest Tasks
- T8837: QColor support for Grantlee
- Commits
- R265:d65940d8e882: Make KColorScheme compatible with QVariant
Diff Detail
Diff Detail
- Repository
- R265 KConfigWidgets
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Does this break source compatibility with code currently doing Q_DECLARE_METATYPE(KColorScheme) already?
Comment Actions
No, as Q_DECLARE_METATYPE requires the type to have a default ctor, which it did not have until now.