[PyKDE] SIP-documentation?

Phil Thompson phil at river-bank.demon.co.uk
Thu Sep 14 16:34:32 BST 2000


Jesper Eskilson wrote:
> 
> Hi!
> 
> I'm getting alot of error-messages such as
> 
> Traceback (innermost last):
>   File "simworld.py", line 17, in ?
>     w = SimWorld(a)
>   File "simworld.py", line 9, in __init__
>     QScrollView.__init__(self,parent,"scrollview1",None)
>   File "/home/jojo/install/x86-linux-glibc2.1/lib/python1.5/qt.py", line 1972, in __init__
>     libqtc.sipCallCtor(79,self,args)
> TypeError: Invalid argument types to QScrollView()

QScrollView expects an int (actually a WFlags) as it's 4th argument.
None is mapped to the pointer NULL.

Phil




More information about the PyQt mailing list