On 4/5/13 4:47 AM, [email protected] wrote: > Then I port on a Microsoft Windows system (XP 32), with PySide win32 > distribution (1.1.x) Qt4 and VTK 5.10, and I have a type error in > QVTKRenderWindowInteractor while retrieving the self.winId() which is > expected to be castable as int: > > TypeError: int() argument must be a string or a number, not 'PyCObject' > > The PySide API actually says the PySide.QtGui.QWidget.winId() returns a > long...
This probably is a PySide bug in either the implementation or documentation. A PyCObject is Python C api object used to wrap a void pointer and is not a long. Could you open a bug report on the PySide tracker at https://bugreports.qt-project.org/browse/PYSIDE ? Thanks, John _______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
