> > 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. > > This seems odd. I'm not certain what would cause this, but it shouldn't be > like that. Can you create a bugreport and provide a small example that > reproduces this.
If you were using WA_PaintOnScreen then you also need to ensure you reimplement paintEngine() to return 0. Had you done that at all? Andy _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development