> I am curious, what is the project you are working on that uses C++ > widgets, SWIG, and PySide? > It's an internal software, that mainly mixes a video editing and a 3D software. And like in maya, nuke,... users could customize the application in python and creates their own widgets using PySide. The difficulty is that we need to allows users to instanciate in python some C++ widgets and mix the 2 binding tools.
I personally like the idea of using SWIG to build Qt bindings. SWIG is the > only tool I have ever used to interface C++ and Python, and it seemed fine. > All of the alternatives to SWIG seemed worse. > For those who don't know, PyQt uses SIP. SIP is similar to SWIG in many > ways. Compared to PyQt, our binding creates bigger binaries, but it may be better with hand written rules... And we could discuss with SWIG guys on that point. I haven't played with it but some people of my team have used SIP a long time ago and don't remember that as a good experience. But it may have changed. Anyway SIP is GPL or commercial... so this is not an option. We used SWIG in the past few years, and it's really a pleasure. The project continues to grow. I hope to see the automatic conversion from doxygen to docstrings soon... It may also interest other people to target other languages.
_______________________________________________ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside