[Qt-interest] QFont - Sans Serif and Monospace for all Plattforms

Kluger, Peter Peter.Kluger at SIMPACK.de
Tue Oct 11 14:39:03 CEST 2011


Hi all,

 i have a question regarding Fonts, is there any sophisticated way to
ensure Qt uses a Monospace/Sans Serif Font for all Plattforms (especially Windows and Unix).
It seems like QFont::setFamily("Monospace") does the magic for Linux but its
Still with Serif for Windows.

Couldn't find anything in the documentation, hope someone here can help.

Thanks in advance,
 Peter



More information about the Qt-interest-old mailing list