cast_object_to bug / PerlQt cvs compilation (Was Re: [Kde-bindings] [Bug 71316] QtRuby : Segmentation fault when loading Qt)

Richard Dale Richard_Dale at
Tue Jan 13 12:28:52 UTC 2004

On Tuesday 13 January 2004 11:16, Germain Garand wrote:
> Le Lundi 12 Janvier 2004 11:34, Richard Dale a écrit :
> > I think we need to fix the runtime to know about rtti that it
> > can get from node.nodeType, and instanciate an instance of the correct
> > DOM:: class.
> very right... that looks like another job for resolve_classname...
> which brings again the problem of a clean separation
> of Qt and KDE.
> I think I'll shamelessly do that with #ifdefs :-)
I was hoping to avoid them, which is why I thought doing a custom kde 
marshaller for DOM::Node would keep the code over on the kde side.

> (BTW: the original version of resolve_classname had problems
> because of m->smoke()->binding->className(classId) calls..  this returns a
> newly allocated string so cave leakem!)
Oh, I didn't know that - I must look at the ruby one.

-- Richard

More information about the Kde-bindings mailing list