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

Germain Garand germain at ebooksfrance.org
Tue Jan 13 11:16:07 UTC 2004


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 :-)

(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!)

Germain



More information about the Kde-bindings mailing list