PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 13 - Incompatible arguments passed to connect()
: Incompatible arguments passed to connect()
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: 0.1.0
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-22 17:43 EEST by Carlos Gonçalves
Modified: 2009-10-14 14:20 EEST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Gonçalves 2009-08-22 17:43:07 EEST
carlos@corenux:~/devel/scm/pyside/pyside-examples/examples/tools/qtdemo> python
qtdemo.py
Traceback (most recent call last):
  File "qtdemo.py", line 45, in <module>
    launcher = Launcher()
  File
"/home/carlos/devel/scm/pyside/pyside-examples/examples/tools/qtdemo/launcher.py",
line 98, in __init__
    QtCore.Qt.QueuedConnection)
Boost.Python.ArgumentError: Python argument types in
    QObject.connect(Launcher, Launcher, pyqt_signal, instancemethod,
ConnectionType)
did not match C++ signature:
    connect(QObject {lvalue}, QObject {lvalue}, PySide::pyqt_signal,
PySide::pyqt_slot)
    connect(QObject {lvalue}, QObject {lvalue}, PySide::pyqt_signal, QObject
{lvalue}, PySide::pyqt_slot)
    connect(QObject {lvalue}, QObject {lvalue}, PySide::pyqt_signal,
boost::python::api::object)
    connect(QObject {lvalue}, PySide::pyqt_signal, QObject {lvalue},
PySide::pyqt_slot)
    connect(QObject {lvalue}, PySide::pyqt_signal, boost::python::api::object)


Line 97 and 98 (launcher.py):
        self.connect(self, QtCore.SIGNAL("showPage()"), self.showParentPage,
                QtCore.Qt.QueuedConnection)

QtCore.Qt.QueuedConnection is a Qt::ConnectionType enum
(http://doc.trolltech.com/4.5/qt.html#ConnectionType-enum)
Comment 1 renato filho 2009-09-08 19:00:01 EEST
fixed on commit: df57936f3b7cab0adf0fa3189c5a613fe09bca59