Important: Please read the Qt Code of Conduct -

QGraphicsItem::setCacheMode and multiple views

  • How does the cache mode "DeviceCoordinateCache" for a QGraphicsItem behave is that item is displayed in multiple views?

    I have a text that renders in two views: Once to the screen, once on the printer. The text looks OK on the first view (screen), but ugly on the second view (printer). I suspect that the second view re-uses the cache filled by painting into the 1st view, even though the view's transformation is different. Would that be possible?