[PyKDE] latest PyQt & Window flags
    Phil Thompson 
    phil at riverbankcomputing.co.uk
       
    Wed Mar  1 22:00:30 GMT 2006
    
    
  
On Wednesday 01 March 2006 8:09 am, Torsten Marek wrote:
> Hi,
>
> using the 20060226 snapshots of PyQt and sip, I get errors in connection
> with the flags argument of QMainWindow or QDialog. One instance of this
> problem exists in examples3/mdi.py:
>
> Traceback (most recent call last):
>   File "mdi.py", line 357, in ?
>     mw = ApplicationWindow()
>   File "mdi.py", line 123, in __init__
>     QMainWindow.__init__(self,None,'example application main
> window',Qt.WDestructiveClose)
> TypeError: argument 3 of QMainWindow() has an invalid type
>
> If the argument is set to 0, the problem remains. Is this a bug or a change
> in sip/PyQt?
I can't reproduce this - either on 32 or 64 bit Linux.
Phil
    
    
More information about the PyQt
mailing list