[PyQt] PyQt-Bug

Phil Thompson phil at riverbankcomputing.com
Tue Feb 26 09:27:08 GMT 2013


On Tue, 26 Feb 2013 10:07:43 +0100, "Dr. Waetzold Plaum"
<Dr.Waetzold.Plaum at iav.de> wrote:
> Hi,
> 
> here is a bug concerning probably PyQt or the underlying Qt library. (Or

> some silly mistake of mine ;-)) See the sourcecode for details. The bug
is 
> essencial for me, for choosing between Qt  and Gtk/Cairo

Silly mistake of yours. The clue is in all the Qt warning messages your
code triggers. Instead of creating a new QPainter in drawThrottle(), use
the one created in drawExample().

Phil


More information about the PyQt mailing list