Quote Originally Posted by KeineAhnung View Post
Is this also true if I want to us the property time on several pages? Say I have to labels in two qml files. Within the app the user shall be able to switch between the pages and always the the time.
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.

This exactly what I did not manage. How do I connect to a signal? onSignalName in another qml file always gives me an error.
There is a number of approaches, one of them being to use the Connections element.

javascript Code:
  1. Connections {
  2. target: someOtherElement
  3.  
  4. onSignalHandler: { ... }
  5. }
To copy to clipboard, switch view to plain text mode