QGraphicsScene s;
s.addText("hello"); //s.addRect(0,0,100,100);
QGraphicsView v(&s);
v.show();

i am using qt4.5 , i try to write a simple qt program using qt creator to display a view containing a scene with text or a rectagle , when i run it its displaying only a blank view neither text or a rectangle being drawn.

can any body help