Hi,

On Sat, Mar 5, 2011 at 1:10 PM, Gregory Schlomoff <
[email protected]> wrote:

> I don't think it's possible since you need to run Qt's MOC to make the type
> available to QML, and the MOC only works withs classes (with the Q_OBJECT
> macro), as far as I know.
>
>
You can also register enums of non-QObject derived classes using Q_GADGET
and qmlRegisterUncreatableType.

Girish
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to