[Interest] [QtQuick][Strict] Getting property of QtObject in two different places of program
Kakadu
kakadu.hafanana at gmail.com
Fri Apr 11 13:38:33 CEST 2014
Hi
I have an issue with accessing property of my QtObject. When I do it
in Component.onCompleted slot all is fine: eval('images.city1') and
eval('images').city1 work the same (for enabled and disabled strict
mode).
But when I do the same code in some function eval('images') returns
the same QtObject, eval('images1').city works as expected but
eval('images.city1') returns undefined.
Any ideas what is happening?
My code is here: https://gist.github.com/Kakadu/10353353/
Best wishes,
Kakadu
More information about the Interest
mailing list