[Qt-interest] Qt, DirectX and MultiThreading

Clinton Stimpson clinton at elemtech.com
Thu Apr 15 16:27:23 CEST 2010


On 04/15/2010 08:22 AM, Ender EREL wrote:
> Clinton Stimpson wrote:
>    
>> Why use a timer for that?  Can't you overload QWidget::paintEvent and
>> trigger DirectX rendering then?
>> That simpler approach works when using external OpenGL engines on a
>> QWidget.
>>
>> Clint
>>      
> I can't remember clearly right now (i tried many, many things in a short
> amount of time) but as i recall, that was causing flickering.
>
> Best regards.
>    

You should fix the flickering by doing this:
setAttribute(Qt::WA_NoBackground);
instead of working around it.

Clint




More information about the Qt-interest-old mailing list