Why do you need access to the QModelIndex internal pointer? It sounds like you are trying to access a null pointer, causing a crash.
Looking at the signature, ptr is some sort of id or extra data associated with the index, which you probably need to add yourself when creating an index. QModelIndex QAbstractItemModel::createIndex ( int row, int column, void * ptr = 0 ) const [protected] TP-5 wrote: > > TP a écrit : >> Could this be a bug in PyQt? > > Has someone tried my script to check if the segfault is reproducible? > > Julien > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > -- View this message in context: http://www.nabble.com/segfault-when-using-a-proxy-and-SIGNAL%28-%22clicked%28QModelIndex%29%22-%29-tp22977318p23006807.html Sent from the PyQt mailing list archive at Nabble.com. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
