[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QToolButton Problem ...
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2003-11-18 23:19:09
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic