Abdelrazak Younes wrote:
> Peter Kümmel wrote:
>>
>> At least I'm now 100% sure this is the right place to look for the bug:
>> I've tested your shared_ptr solution, and the resize bug is gone, but
>> I get-as assumed-this from Qt: :)
>>
>> QPaintDevice: Cannot destroy paint device that is being painted.  Be
>> sure to QPainter::end() painters!
> 
> So the bug is gone but we have a memory leak in exchange!
> 
> Difficult... The bug is not there with Qt4/mingw so I suppose this is
> something introduced by the Qt4/MSVC patch. As you are in touch with KDE
> people maybe you could ask for advice?
> 
> Abdel.
> 
> 

I also see the bug when compiled with mingw,
but under Linux it is gone.

Maybe it is a Qt bug.

The Qt4/msvc patch doesn't change the Qt code
much, most changes are for the Borland compiler
and qmake, and they are harmless.


Peter

Reply via email to