[PyQt] QModelIndex.internalPointer() is a weak reference ?

Luper Rouch luper.rouch at gmail.com
Sun Jan 18 23:40:38 GMT 2009


Hi,

I have to maintain references to the objects passed to QModelIndex or I 
get segfaults (and all kinds of other weird results) when accessing them 
via internalPointer(), which makes me either think the reference 
counting is broken or that indices store weak references...

Is this intended ? I'm using ubuntu 8.10 packages (PyQt and Qt 4.4.3)

Cheers, Luper


More information about the PyQt mailing list