[PyQt] Bug in sip-4.11.1 and PyQt-4.7.7 ?

Darren Dale dsdale24 at gmail.com
Mon Sep 27 20:11:16 BST 2010


On Mon, Sep 27, 2010 at 2:45 PM, Gerard Vermeulen <gav451 at gmail.com> wrote:
>  Phil,
>
> when running the following code
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> import PyQt4.Qt as Qt
>
> class MyWidget(Qt.QWidget):
>
>    def __init__(self, parent=None):
>        super(Qt.QWidget, self).__init__(parent)

That should be "super(MyWidget, self).__init__(parent)".

Darren


More information about the PyQt mailing list