Does Qt allready have its own new and delete operators?
问题 I'm using a QGraphicsScene widget and showing upon it some points as QGraphicsRectItem . This means calling lots of new + addItem() when showing up, and removeItem() + delete to get rid of unused points. Of course, for performance issues, I've implemented my own new and delete operators, which basically recycle pre-allocated memory chunks. Those operators works very well with anything, except for Qt classes (I mean QObject derived classes). The error raised is different every time but always