[Qt-qml] QML + enum

Tibo W tibo_wcc at yahoo.com
Thu Mar 3 23:58:47 CET 2011


Hi,

I have an enum defined in a common.h, so many classes can access it.
I'd like to have this enum visible from QML because I want to send signals with this enum.

It seems that there's a way to do it if the enum belongs to a class and the class is registered using "qmlRegisterType".

But is there any other way ?

thanks in advance



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110303/a7676afb/attachment.html 


More information about the Qt-qml mailing list