[Development] Qt::WA_PaintOnScreen Changes

David Narvaez david.narvaez at computer.org
Sat Aug 23 18:40:01 CEST 2014


On Wed, Aug 20, 2014 at 12:17 PM, David Narvaez
<david.narvaez at computer.org> wrote:
> On Thu, Aug 14, 2014 at 12:34 PM, Shaw Andy <Andy.Shaw at digia.com> wrote:
>> If you were using WA_PaintOnScreen then you also need to ensure you reimplement paintEngine() to return 0. Had you done that at all?
>
> Thanks for your help and sorry for the late reply. I was missing the
> return 0 on paintEngine() (I should have read the docs carefully) but
> after adding that the widget keeps painting black. I'll prepare a
> simple case to reproduce this and file a bug report.

I was ready to create my bug report with sample code etc, and came across

https://bugreports.qt-project.org/browse/QTBUG-26358

which seems to be related because I was able to confirm paintEvent is
not called with this flag set. Could somebody take a quick look at
that report and tell me if I should add to that report or create a new
one? I am just wondering since the bug report is quite old.

David E. Narvaez



More information about the Development mailing list