[PyQt] How do you use QQmlListProperty?
cody at perspexis.com
Thu Jan 5 23:34:08 GMT 2017
I have a subclass of QObject with a list as a property. I'm trying to set
the list property in QML but I'm getting TypeError: list element must be of
type 'str', not 'NoneType' followed by a signal SIGABRT (Abort)
The docs talk about using setTarget() but I can't figure out how to use it.
How do you specify the property.
Example code here:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt