richard at weickelt.de
Tue Apr 16 13:39:16 CEST 2019
> You can also generate an object from Qml code directly:
I know, but I wanted to use operator new in order to achieve a better look &
feel. Please note that this is/was easily possible in Qt Script. See the
code snippets at
var obj = new MyObject;
obj.setEnabled( true );
print( "obj is enabled: " + obj.isEnabled() );
> The new is lacking too much information to create the QObject properly.
What do you mean and why is that?
More information about the Interest