[PyQt] Fwd: Re: pyqt5.1 QWidget.childAt() exception

Stephen Gava elguavas at gmail.com
Sat Oct 5 10:46:53 BST 2013


sorry i forgot to cc this by the list so here it is forwarded:

-------- Original Message --------
Subject: Re: [PyQt] pyqt5.1 QWidget.childAt() exception
Date: Sat, 05 Oct 2013 19:43:50 +1000
From: Stephen Gava <elguavas at gmail.com>
To: Phil Thompson <phil at riverbankcomputing.com>



On 05/10/13 19:31, Phil Thompson wrote:
> On Fri, 04 Oct 2013 16:07:38 +1000, Stephen Gava <elguavas at gmail.com>
> wrote:
>> i've found another puzzling (to me) difference in behaviour between
>> pyqt5 and pyqt4.
>> AttributeError: 'QLabel' object has no attribute 'QWidget'
>>
>> can anyone shed any light on this?
>
> Do you have a small, complete test case that demonstrates the problem?

i'll try putting one together on monday when i get back to my office.

however Timothy Grove's reply to my second message on this topic
(message titled:  pyqt5.1 baffling exceptions: AttributeError: 'Qxxxxxx'
object has no attribute 'QWidget')
on this list seems to confirm my own experience and feeling that there
is some weird problem happening behing the scenes here which is a
difference between pyqt4 and pyqt5.

thanks,
stephen.




More information about the PyQt mailing list