Did u try something like this inside the paint( ) function? So you can set the appropriate font.

Qt Code:
  1. painter->setFont(QFont("Times", 18));
  2. QRectF rect(10.0, 20.0, 80.0, 60.0);
  3. painter->drawText(rect, Qt::AlignCenter, ("Qt by\nTrolltech"));
To copy to clipboard, switch view to plain text mode