Hi,
I usually register a controller property that points to a Controller classe
when I start my Qt apps. I can then access the controller from any point of the
code in Javascript:
quickView->rootContext()->setContextProperty("controller", &controller);
Curiously, I’m having an issue in which inside a MouseArea onClick event,
controller is not defined:
ReferenceError: controller is not defined
This MouseArea lives inside a Loader component that is one of the children of a
SplitView.
Maybe this be the cause for such ReferenceError? How can I workaround this? Any
ideas?
Thanks!
Regards,
Nuno
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest