I'd start by explaining what are your intentions for having the "time" property in the first place. I think that the sole existance of this property is your main problem. Regardless if this property is physically global or not, you are treating it as one which in my opinion is a misdesign.
There is a number of approaches, one of them being to use the Connections element.This exactly what I did not manage. How do I connect to a signal? onSignalName in another qml file always gives me an error.
javascript Code:
Connections { target: someOtherElement onSignalHandler: { ... } }To copy to clipboard, switch view to plain text mode
Bookmarks