[Qt-qml] Javascript include/import?

bea.lam at nokia.com bea.lam at nokia.com
Thu Jun 17 07:35:19 CEST 2010


> 
> 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



More information about the Qt-qml mailing list