On Wed, Aug 20, 2014 at 12:17 PM, David Narvaez
<[email protected]> wrote:
> On Thu, Aug 14, 2014 at 12:34 PM, Shaw Andy <[email protected]> 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
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to