On Thu, 21 Oct 2010 11:45:25 +0200, Elias Bachaalany <[email protected]> wrote: > Hi Phil, > > Using Python 2.6, I could make it work with: > > sip.wrapinstance(sip.voidptr(the_widget).__int__(), QtGui.QWidget)
sip.wrapinstance(int(sip.voidptr(the_widget)), QtGui.QWidget) ...is a bit nicer. > But only after figuring out that I also had to recompile SIP with > SIP_SUPPORT_PYCOBJECT Whoops - that's a bug. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
