[PyKDE] PyQt2.3, qt2.3.0, Python2.1 problem

Ted Drain ted.drain at jpl.nasa.gov
Fri Apr 20 22:45:00 BST 2001


Has anyone gotten PyQt2.3 to work with qt 2.3.0 and Python 2.1?

Everything seems to build fine but a lot of the examples fail.  The problem 
seems to be in the connect() calls. The results are the same on Linux 
(RedHat 6.1), Solaris (SunOS 5.6), and HPUX (10.2).

Here's a couple of examples:

 > ./tut7.py
QObject::connect: Use the SLOT or SIGNAL macro to connect QObject::
Traceback (most recent call last):
File "./tut7.py", line 54, in ?
w = MyWidget()
File "./tut7.py", line 43, in __init__
lr = LCDRange(grid)
File "./tut7.py", line 18, in __init__
self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)')) 

RuntimeError: Signal has wrong argument types for slot

 > ./tut2.py
QObject::connect: Use the SLOT or SIGNAL macro to connect QObject::H

Ted Drain     Jet Propulsion Laboratory   ted.drain at jpl.nasa.gov    





More information about the PyQt mailing list