Instanting Q_GADGET



  • Hi everyone, http://doc.qt.io/qt-5/qtqml-cppintegration-data.html#value-types describes that Q_GADGET objects are available in QML but there is no example of how to use them in QML (there's only a C++ snippet).
    Could you tell me how to create an instance of the Actor class defined in the documentation in QML/Javascript?
    Thanks in advance


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.