Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
Description
qDebug() and friends print Q_ENUM names by default (instead of their numerical values). It would be very nice if console.log() and friends could do the same.
If changing the default behaviour is not desirable, would it be possible to expose something like QMetaEnum::keyToValue() to QML?
Attachments
Issue Links
- relates to
-
QTBUG-110115 QVariant is loosing meta type when passed from C++ to QML and back
-
- Closed
-
-
QTBUG-15483 Allow using enums as properties in QML
-
- Open
-