[PyKDE] QToolButton Problem ...
Phil Thompson
phil at riverbankcomputing.co.uk
Wed Nov 19 00:20:01 GMT 2003
On Tuesday 18 November 2003 9:41 pm, Armin Steinhoff wrote:
> 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 ??
What version of Qt?
I suspect that reading the READMEs in examples2 and examples3 may supply a
clue.
Phil
More information about the PyQt
mailing list