Hi, I'm trying to connect a C++ signal to a Python slot. What is the best way to do this?
My current approach is to use sipQtAPI::qt_connect, and to do this I need to apparently convert the C++ object to a PyObject using SIP. I do that using sipAPIDef::api_get_pyobject. However whenever I call this method using the appropriate sipType I get a segmentation fault. I have included a small qmake project that replicates this behavior. Could someone look it over and offer advice on what I am doing wrong?
PythonInteropDemo.tar.gz
Description: application/compressed-tar
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt