[Qt-interest] Qt, DirectX and MultiThreading
Ender EREL
erelender at yahoo.com
Fri Apr 16 16:27:20 CEST 2010
Clinton Stimpson wrote:
>
> You should fix the flickering by doing this:
> setAttribute(Qt::WA_NoBackground);
> instead of working around it.
>
> Clint
Qt::WA_NoBackground is obsolete, docs recommend to use
Qt::WA_OpaquePaintEvent. When i set this flag, the flickering color
changes from gray(system background) to black.
Currently the flags i am setting are:
Qt::WA_DontCreateNativeAncestors
Qt::WA_NativeWindow
Qt::WA_OpaquePaintEvent
Qt::WA_PaintOnScreen // Has no effect on windows, but still...
Qt::WA_NoSystemBackground
I also tried many combinations of these flags but flickering never goes
away.
--
Ender EREL - -
More information about the Qt-interest-old
mailing list