Qt 6.11 is out! See what's new in the release
blog
Font rendering slightly differs between custom widget & Qt provided ones
-



If you look close, you can see that the antialiasing is different between my custom painted widgets (on the left) and the Qt-provided QComboBox. The combo box uses RGB subpixel order, while mine seem to be grayscale.
My question is, how can I change it to do what everything else is doing? Is there something I can set in QPainter or QFont?
I'm drawing my text with
QPainter::drawText(). I've looked intoQStylePainterandQStyle::drawControl()and such, but nothing seems to differ. I don't really know what to use that would help my situation, since those are all tailored to existing widgets.