Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] Find the source of endless repaints?



  • I have a QGraphicsWidget, which wraps a QGraphicsTextItem subclass. For some reason, I get tons of repaints (like several dozens a second) in my parent QGraphicsWidget, and I have no idea where they are coming from. I have checked that my code never calls update().

    How do I find the cause of the repaints?



  • Set a breakpoint in QGraphicsItem::update() and see where it's coming from.


Log in to reply