Well, i try to use an graphicsview.
It's located in an dialog form (createt with the designer from qt creator IDE) and called "test".

In the constructor of the form (after m_ui->setupUi(this) i tried this, to write anything on the gv.

Qt Code:
  1. scene.addText("GraphicsView rotated clockwise");
  2.  
  3. m_ui->test->setScene(&scene);
  4. m_ui->test->rotate(90); // the text is rendered with a 90 degree clockwise rotation
  5. m_ui->test->show();
To copy to clipboard, switch view to plain text mode 

But it has no effect. The graphicsview is still empty.
What am I doing wrong?

Thanks