I'm attaching a patch for fixing antialiasing in Qt. Current behaviour is "either antialias fonts or lines". The patch does antialiasing either on both or none at all (one option would be to handle that separately for both). Note that there are also other antialiasing techniques like QPainter::HighQualityAntialiasing (An OpenGL-specific rendering hint indicating that the engine should use fragment programs and offscreen rendering for antialiasing.)
I'm not 100% about the first three examples (not sure how off works), but the last one should be right now:
- m_view->setRenderHints(m_antialias ? QPainter::Antialiasing : QPainter::TextAntialiasing);
+ m_view->setRenderHints(m_antialias ? (QPainter::Antialiasing | QPainter::TextAntialiasing) : 0);
It makes no sense to use conditional antialiasing.