title: Qt GraphicsScene Background does not change
body: <p>i am a newbie to Qt.i am handling canvas widgets through QGraphicsScene class.But i cant change the default white background of the widget.Here is the code.i have tried to use the QBrush to set the background.But it did not work.it remains white.what is the problem in the following code?</p>
  
  <pre><code>int main(int argc, char **argv){
  
      QApplication a(argc, argv);
  
  
      QGraphicsScene canvas;
      canvas.addText("Hello World");
      QColor *color=new QColor(0x70,0x80,0x50,255);
      QBrush *brush=new QBrush();
      brush-&gt;setColor(*color);
      canvas.setBackgroundBrush(*brush);
  
      QGraphicsView view(&amp;canvas);
      view.show();
  
  
  
  
      return a.exec();
  
  
  }
  </code></pre>