[RQt-devel] regressions
Deepayan Sarkar
deepayan.sarkar at gmail.com
Sat Feb 27 06:35:09 CET 2010
This used to work before:
> qfile <- Qt$QFile("/tmp/foo.R")
> stream <- Qt$QTextStream(qfile)
Error in qinvokeStatic(cl, name, ...) :
Unable to disambiguate method QTextStream::QTextStream
but no longer. A workaround is
> stream <- Qt$QTextStream()
> stream$setDevice(qfile)
Similarly,
> Qt$QPen(Qt$QColor())
Error in qinvokeStatic(cl, name, ...) :
Unable to disambiguate method QPen::QPen
Any idea what might be going on?
Even worse, segfaults with
> stream$string()
*** caught segfault ***
address 0x8, cause 'memory not mapped'
Traceback:
1: .Call(qt_qinvoke, x, method, FALSE, list(...))
2: qinvoke(<environment>, "string", ...)
3: stream$string()
and with
> foo <- "foobar"
> stream <- Qt$QTextStream(foo)
*** caught segfault ***
address 0x8, cause 'memory not mapped'
Traceback:
1: .Call(qt_qinvokeStatic, x, method, list(...))
2: qinvokeStatic(cl, name, ...)
3: Qt$QTextStream(foo)
(But I guess this usage doesn't make sense for us.)
-Deepayan
More information about the Qtinterfaces-devel
mailing list