[Gambas-user] qt4 draw error

Dr.Diesel dr.diesel at ...626...
Sun Jan 3 22:53:24 CET 2010


I believe I have found a qt4 bug.  Here is a very simply gambas 3 (svn
current to 1/2/10), this works perfectly find and as expected if i switch to
gtk.

Error is, and it only outputted to the gambas console:

QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setBackground: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active

gambas program:
Public Sub Button1_Click()
Draw.Begin(DrawingArea1)
Draw.Line(1, 130, 500, 400)
Draw.End
End

DrawingArea1 is locked on the main form.

Thanks
Andy
-- 
View this message in context: http://old.nabble.com/qt4-draw-error-tp27005884p27005884.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list