The Rectangle item should get antialiased without changing the QSurfaceFormat, it doesn’t use multisampling. Of course it will only be antialiased if it has a rounded corner (a radius set), otherwise there’s nothing to antialias.
A bezier curve however is a custom item and will probably need multisampling to be antialiased, it all depends on how it is being rendered.
↧