[fpc-pascal] libQT4Pas - Why it is needed?

Ludo Brands ludo.brands at free.fr
Mon Jan 30 14:27:10 CET 2012


> Eh, I meant how does ruby, lua, objective c, and similar 
> tools bind the
> C++ api. Do they use an automatic tool that converts QT C++ objects to
> procedural? or by hand, someone converts the objects to 
> procedures and structs? Or do they use the c++ objects 
> directly to python objects..
> 

The smoke wrapper http://techbase.kde.org/Development/Languages/Smoke is
used by a lot of these languages. See also
http://lists.trolltech.com/qt-interest/2006-08/thread00721-0.html.

Smoke is actually a tool that generates runtime wrappers for c++ libraries.
It supports virtual methods, multiple inheritance etc. 

Ludo




More information about the fpc-pascal mailing list