[RQt-devel] possible bug in qtbase

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Sep 22 08:11:13 CEST 2011


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


More information about the Qtinterfaces-devel mailing list