[Development] Antiaaliasing

Samuel Rødal samuel.rodal at digia.com
Fri Oct 5 13:53:03 CEST 2012


On 10/05/2012 11:57 AM, Wehmer, Matthias wrote:
> Hi everybody,
>
> I need some information regarding the antialiasing functionality in Qt
> 5. I have implemented a custom widget which basically draws a lot of
> lines (also uses custom materials). Unfortunately they are not at all
> AA. Anyway, via setAntialiasing() I turned AA on, but nothing happens.
> How exactly does Qt5 perform the AA, what do I have take care of when
> combinintg my own shaders with the AA from Qt5? Is there a possibility
> to add manually some postprocessing?

This is a bit too little information to go on. What shaders are you 
talking about? You're also talking about a custom widget, which makes me 
unsure about whether you're using OpenGL or the raster paint engine.

Also, which setAntialiasing() is that?

--
Samuel



More information about the Development mailing list