[PyQt] Signal causes seg fault
Cody Scott
cody at perspexis.com
Wed Feb 15 21:55:46 GMT 2017
The segfault is gone! \o/
I'm trying to bind to a pyqtProperty from the parent class but emitting the
correct signal does not update the view.
https://gist.github.com/Siecje/4a99c2c76f65f39a57c168da10407e7f
If there is no child class then it works.
On Fri, Jan 13, 2017 at 12:04 PM, Phil Thompson <phil at riverbankcomputing.com
> wrote:
> On 12 Jan 2017, at 5:43 pm, Cody Scott <cody at perspexis.com> wrote:
> >
> > I'm getting a seg fault when a child class calls a method of a parent
> class which emits a signal (also of the parent class).
> >
> > If you run this example file and click the button it will cause a
> segfault. If nothing is bound to "customType.count" then it will not
> segfault.
> >
> > The gist and the attached file are the same.
> >
> > https://gist.github.com/Siecje/4a99c2c76f65f39a57c168da10407e
> 7f#file-signalemit-py-L19
>
> Hopefully fixed in tonight's snapshot.
>
> Thanks,
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170215/3f17ab1d/attachment-0001.html>
More information about the PyQt
mailing list