I would like to use standard fonts in my app. I need the standard (in KDE, configured in the System Settings) proportional and fixed pitch fonts. I haven't detected a Qt-way, how to get proportional and fixed QFonts corresponding to the ones configured in default font settings - or some info which allows getting these QFonts. Perhaps, I am overlooking something.

The default font seems to be the "desktop font". It is, perhaps always, a proportional font but suppose purely theoretically that a user configured his desktop so that the desktop font is fixed pitch. What font do I get as a default font? And How to get the fixed pitch font? QTextCharFormat::setFontFixedPitch(true) seems to be ignored in my app. In fact, no wonder, fonts are usually either proportional or fixed pitch.

Debian Wheezy, KDE, Qt 4.8.4