PDA

View Full Version : ERROR: Result of expression 'array' is not an object.



bmn
9th August 2011, 11:15
I'm using QMetaObject's invoke method from my .cpp file to call a javascript function from my .qml file that reads and saves my QStringList to a Javascript array.

It works pretty well, although I get this weird error:

file:///C:/Users/MYCOMP/Qt/Projectproj-build-desktop/qml/Projectproj/main.qml:65: TypeError: Result of expression 'anArray' [undefined] is not an object.