Hi,

i try to rotate a QRectF like this:
Qt Code:
  1. QPainter painter(this);
  2. painter.rotate(270);
  3. QTextOption textOption(Qt::AlignCenter);
  4. painter.drawText( QRectF(50,50,100,20);, "Hello World", textOption );
To copy to clipboard, switch view to plain text mode 

but that code don't working. I would be rotate the QRectF at the QRectF center. How can i do that?