exposing Q_INVOKABLE in Q_GADGET to QML

前端 未结 0 1425
忘了有多久
忘了有多久 2020-12-04 06:57

My original goal was to make the Name of an enum available in QML. The name can be provided via QMetaEnum and QVariant\'s toString(), neither of which are available in QML.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题