[RQt-devel] regressions

Michael Lawrence lawrence.michael at gene.com
Sat Feb 27 06:42:52 CET 2010


I'll have to look into this. All of the type conversions were rewritten.
It's likely that many things are broken.

Thanks,
Michael

On Fri, Feb 26, 2010 at 9:35 PM, Deepayan Sarkar
<deepayan.sarkar at gmail.com>wrote:

> 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
> _______________________________________________
> Qtinterfaces-devel mailing list
> Qtinterfaces-devel at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20100226/f48ed196/attachment.htm 


More information about the Qtinterfaces-devel mailing list