mchara
15th October 2007, 07:37
Hi,
i'm using QPainter in my paintEvent(together with QStylePainter), and i get warning like this:
Warning: QPainter::begin: Paint device returned engine == 0, type: 2
I can't figure out when exactly this happens and it's rather hard to reproduce it. type 2 is something like QuickDraw on MacOS but i'm working on windows xp, so i'm totally confused...
Does anyone know what's this warning about?
i'm using QPainter in my paintEvent(together with QStylePainter), and i get warning like this:
Warning: QPainter::begin: Paint device returned engine == 0, type: 2
I can't figure out when exactly this happens and it's rather hard to reproduce it. type 2 is something like QuickDraw on MacOS but i'm working on windows xp, so i'm totally confused...
Does anyone know what's this warning about?