11-12-2012 08:59 AM
11-12-2012 09:58 AM
The context property for _locationDiagnostics is set in main.cpp and refrenced in main.qml.
The documentation says to import the context. Why does this work without the import?
It certainly doesn't work for me with the import because it tries to find the import before the context is created.
So when is the import required and when is it not required?
11-12-2012 10:34 AM
Reading through this:
https://developer.blackberry.com/cascades/document
I think the difference is when you:
qmlRegisterType
you need to import. If you setContextProperty of a qml - you don't for it or it's children.