Okay, I have found the solution:
In my example class I had to set an instance of the class in the root context as property of course.
In my singleton class I just had to add the namespaces in the Q_PROPERTY declaration.
↧