[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Problem with inherits() method
From: John Ehresman <jpe () wingware ! com>
Date: 2017-04-27 19:44:44
Message-ID: d23575c1-bbf6-3f53-5260-1338f99fb2eb () wingware ! com
[Download RAW message or body]
On 4/27/17 11:50 AM, Phil Thompson wrote:
> On 26 Apr 2017, at 9:47 pm, John Ehresman <jpe@wingware.com> wrote:
> >
> > The inherits() method doesn't seem to be working in PyQt5 5.8.2 w/ Qt 5.8 for \
> > objects created from Python as shown be the following example at the interactive \
> > prompt:
> > > > > app = QtWidgets.QApplication([])
> > > > > o = QtWidgets.QStackedWidget()
> > > > > o.inherits('QObject')
> > False
> > > > > l = o.layout()
> > > > > l.inherits('QObject')
> > True
> >
> > Both inherits() calls should return true. I've tested with a from source build \
> > on mac and the pip installed wheel on 32 bit windows.
>
> Should be fixed in tonight's snapshot. Patch below.
It works for me -- I no longer crash on a failed assert when running
against the debug version of qt. Will try the snapshot tomorrow.
Thanks,
John
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic