> > 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
>
> It's not a Qt4, it's by design: they forbid drawing on a widget outside of
.
/|\
|
bug -------------'
--
Benoît Minisini
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user