Is there a cross-platform way to get the user preferred fixed and proportional fonts in Qt?
For example, Cocoa has
NSFont *proportional = [NSFont userFontOfSize:12.0f]; NSFont *fixed_width = [NSFont userFixedPitchFontOfSize:12.0f];
I would like to find an equivalent in Qt that works on Mac, Linux, and Windows.
source share