[PyQt] SIGABRT when setting QQmlListProperty
Cody Scott
cody at perspexis.com
Sat Jan 14 03:26:59 GMT 2017
That's true but it seems like something that should not be happening.
On Fri, Jan 13, 2017 at 5:24 PM, Phil Thompson <phil at riverbankcomputing.com>
wrote:
> On 13 Jan 2017, at 6:06 pm, Cody Scott <cody at perspexis.com> wrote:
> >
> > I'm using @pyqtProperty(QtCore.QVariant) for the list property and it
> works as long as I do .toVariant() in the setter.
> >
> > One thing is that it calls the setter twice for each instance in this
> example. I believe it should only call each setter once.
> >
> > https://gist.github.com/Siecje/d1f2b270305762b4f73540c72adee6b8
>
> If you comment in the test to see if the value has really changed then it
> seems to do as you expect.
>
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170113/10299825/attachment.html>
More information about the PyQt
mailing list