Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt::Alignment is not a metatype - any special reason?
Asperamanca last edited by
I would like to store a Qt::Alignment in a QVariant. Turns out that Qt::Alignment is not registered as a metatype.
Is there any specific reason for this? Would it be safe to declare it in an appropriate header file of my project, like so: