Use Q_ENUM instead of Q_ENUMS
Q_ENUMS is deprecated since Qt5 5.5 and Q_ENUM(foo) gets automatically
registered to Qt's meta type system. qDebug(), QVariant and QCOMPARE
can then print the value rather than the number.
Use Q_ENUM instead of Q_ENUMS
Q_ENUMS is deprecated since Qt5 5.5 and Q_ENUM(foo) gets automatically
registered to Qt's meta type system. qDebug(), QVariant and QCOMPARE
can then print the value rather than the number.
heikobecker | Mar 20 2018, 6:20 PM |