Hi all

I have searched around and cannot find much on how to set the font of a widget. I would like to set the lineedit widget font to something.ttf (truetype font)

Firstly is this possible on Qt symbian devices such as Nokia and secondley how can i achieve this.

Any help would really be appriciated.

So far i have only tried the below code.

Qt Code:
  1. ui->lineEdit->setFont("fancy.ttf");
To copy to clipboard, switch view to plain text mode