[Kde-bindings] PerlQt bindings ans SWIG ?

Richard Dale rdale at foton.es
Fri Jun 5 18:45:55 UTC 2009


On Friday 05 June 2009 07:35:00 pm Dominique Dumont wrote:
> Hello Chris
>
> Le Thursday 04 June 2009 19:09:14 Chris Burel, vous avez écrit :
> > When I started working on PerlQt4, Smoke could already parse the qt4
> > headers, and gave me everything I needed.  I was really just trying to
> > clone PerlQt3, but adapt it to work for the Qt4 api.  Since PerlQt3
> > used Smoke as well, that's what I went with.
>
> ok. I've seen that perlqt4 code has a huge xs file (~1500 lines) to provide
> Smoke bindings (If I understand correctly...)
>
> How about providing Smoke bindings with SWIG ? (I've looked at smoke.h, it
> should not be a big deal...)
If you were to use SWIG you would be starting again. It isn't possible to 
combine SWIG generated code with Smoke generated code is they are functionally 
equivalent, although the way they work is very different.

-- Richard



More information about the Kde-bindings mailing list