> 
> In the meantime you can work around this by using the actual constant value 
> for the enum, e.g.
> 
>       if (component.status == 1) {
>               print("it worked!")
>       }
> 


Actually, it turns out this change won't fix the problem because there's a bug 
with calling Qt.createComponent() from a ".pragma library" javascript file at 
the moment. I've created QTBUG-11507 for this.


regards,

Bea
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to