I'm working on building an application to plot data. This application is being built to work on Windows and Linux. The plot is displayed using a QGraphicsView.

In Linux when we print the QGraphicsView using render() it comes out fine, but in Windows the area displayed by the QGraphicsView comes out all black.

Does anyone have any ideas.