[Development] Qt::WA_PaintOnScreen Changes

David Narvaez david.narvaez at computer.org
Wed Aug 13 15:52:04 CEST 2014


Hi,

I am porting an application to Qt5/KF5 and was surprised to see the
main widget of the application was showing all black. There are
screenshots of the original version and the buggy version[1] online. I
removed

setAttribute( Qt::WA_PaintOnScreen, true );

on that widget and the widget was rendering fine again. I would like
to know if that was a good idea and what are the implications or if
this is a bug in Qt.

Thanks.

David E. Narvaez

[0] http://edu.kde.org/images/screenshots/kig.png
[1] http://blog.dmaggot.org/wp-uploads/2014/08/kigbug.png



More information about the Development mailing list