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:
@Q_DECLARE_METATYPE(Qt::Alignment)@