View Full Version : WA_NativeWindow causes other Widgets to not repaint

15th February 2011, 23:35
I'm using Qt 4.7.1 on Windows 7 64-bit with Visual Studio 2008. My app is working fine.

However, if I call setAttribute(Qt::WA_NativeWindow); in one of my sub widgets, painting no longer occurs reliably. Widgets that are siblings of the NativeWindow fail to repaint.

I first noticed this issue when trying to use Phonon. When I added the video player widget, my other widgets stopped repainting.

Has anybody seen this behavior? Any idea what's going on?