Disabling subpixel font anti-aliasing
-
I've been working on a QML app, and noticed that Qt seems to automatically apply subpixel anti-aliasing to fonts in my app (see the below image for an example of what I mean).

I would like to disable this behaviour and use only greyscale rendering.I've tried setting the style strategy of
QFonttoQFont::NoSubpixelAntialias, however this doesn't seem to have an effect. I would appreciate any pointers on how to solve this.For context, this app is running on Linux, using Wayland and Qt 6.5.