[PyKDE] QToolButton Problem ...
Armin Steinhoff
armin at steinhoff.de
Tue Nov 18 22:44:01 GMT 2003
Hi All,
after installing PyQt-x11-gpl-3.8.1, sip-x11-gpl-3.8 and Python-2.2.3
I got the follwing error message when I run the example application.py:
linux90:/opt/PyQt-x11-gpl-3.8.1/examples2 # python application.py
Traceback (most recent call last):
File "application.py", line 273, in ?
mw = ApplicationWindow()
File "application.py", line 107, in __init__
self.fileOpen = QToolButton(openIcon,'Open
File',QString.null,self.load,self.fileTools,'open file')
File "/usr/local/lib/python2.2/site-packages/qt.py", line 843, in __init__
libqtc.sipCallCtor(20,self,args)
TypeError: Argument 1 of QToolButton() has an invalid type
Is there a fix available ??
Regards
Armin Steinhoff
More information about the PyQt
mailing list