Hey @all,

have a problem where i'am confused. I have a QGraphicsScene Object where i draw my stuff. today i set the viewport of the QGraphicsView as follows:
Qt Code:
  1. view = new QGraphicsView(scene);
  2. view->setViewport(new QGLWidget(new QGLContext(QGLFormat::defaultFormat())));
To copy to clipboard, switch view to plain text mode 

on my primary monitor (vga output) the background is white -> Correct
but when i start my Application with the mouse cursor at my second monitor (digital output) the background is black

Where can i handle that the background of the QGraphicsView is allways white?

I hope somebody can help me.

King Reagards
NoRulez