PDA

View Full Version : Wrapping Qt



OlivierREVOL
27th June 2008, 08:52
Hello,

I want to wrap an application written in C++ programming (calling Qt), and I have a tool name SWIG for that. But SWIG doesn't reconize Q_OBJECT.

Is it possible to wrap C++ programming using Qt with SWIG?


PS:I test an other tool SIP which reconize Qt objects but if it is possible to use SWIG for Qt I prefer.

Thanks for yours answers

auba
4th June 2009, 13:11
I'd like to refresh this thread.

Is it possible to make qt stuff available to Python and/or other scrypting languages? Maybe by SIP, but much better would be SWIG.

Does anyone know what TT uses to create those qt bindings for java and python?

wysota
4th June 2009, 21:55
Is it possible to make qt stuff available to Python and/or other scrypting languages?
http://www.riverbankcomputing.co.uk/software/pyqt/intro

If you want to run SWIG on Qt's classes, remember to run it on the fully generated code, i.e. no Q_OBJECT macros without moc'ed implementations.

And there is Kross...

http://en.wikipedia.org/wiki/Kross_(KDE)