[RQt-devel] possible bug in qtbase
Michael Lawrence
lawrence.michael at gene.com
Thu Sep 22 18:54:19 CEST 2011
Well it wasn't a simple fix (everything has far reaching consequences), but
I think it's resolved.
Michael
On Wed, Sep 21, 2011 at 11:11 PM, Deepayan Sarkar <deepayan.sarkar at gmail.com
> wrote:
> On Wed, Sep 21, 2011 at 10:44 PM, Michael Lawrence
> <lawrence.michael at gene.com> wrote:
> > Just pushed the fix. Let me know if this screws up something else.
>
> It does (looks like an infinite loop ending in a stack overflow, so
> hopefully easy to detect and fix):
>
> ----
> library(qtbase)
>
> v <- Qt$QGraphicsView()
> v$size <- qsize(600, 600)
> scene <- Qt$QGraphicsScene(v)
> v$setScene(scene)
>
> v$scene()$addRect(50, 50, 550, 550)
> ----
>
> Things are fine if I replace the last line with
>
> scene$addRect(50, 50, 550, 550)
>
> -Deepayan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20110922/51118d1b/attachment.htm>
More information about the Qtinterfaces-devel
mailing list