[PySide] Shiboken generated QtCore

Marcelo Lira marcelo.lira at openbossa.org
Tue Nov 10 20:52:32 BRT 2009


Hello folks,

News from the PySide/Shiboken front: after a lot of improvements on the
generator we have the QtCore module exporting all the classes to Python. Notice
that I said "importing" not working. Although many of the basic QtCore unit
tests from the official PySide are passing, the ones dealing with ownership
issues, signals/slots, and stuff relying on specific custom code.

And now some numbers:

PySide/Boost.Python's QtCore.so: 4.7M
PySide/Shiboken's 	  QtCore.so: 1.5M

Both modules where compiled with release flags and also striped. The numbers
are great for Shiboken's generated module, but remember that it is not yet
complete. That being said, we are very confident that just in the really worse
nightmarish case the .so file will reach 2M.

As a side effect, the improvements on Shiboken made it even better for
generating binding C++ libraries and we encourage everyone to try it out.

And for those who like to see for them selves, checkout the code from the master
branch of the following repositories:

* API Extractor
git clone git://gitorious.org/pyside/apiextractor.git

* Generator Runner
git clone git://gitorious.org/pyside/generatorrunner.git

* Shiboken
git clone git://gitorious.org/pyside/shiboken.git

* PySide-Shiboken
git clone git://gitorious.org/pyside/pyside-shiboken.git

The repos are given in the same order that they should be compiled.

If you find our human weaknesses somewhere in the code, here is the place to
report them: http://bugs.openbossa.org

And that's it for now. :)

-- 
Marcelo Lira dos Santos
INdT - Instituto Nokia de Tecnologia


More information about the PySide mailing list