[PySide] Shiboken - Documentation support when binding a C++ library

Yann Lanthony yann.lanthony at gmail.com
Mon May 28 21:04:07 CEST 2012

Hi everyone,

I am new to this list, so first of all thanks for your work ! PySide and
shiboken are such great tools.
Actually, I had already created a post in the PySide googlegroups but if I
get it right, here is a better place to ask questions :)

So, I am currently using shiboken to do the python binding of my C++
Qt-based project. I am starting to get really nice results, as I'm now able
to end up with a .pyd file that allows me to call my C++ functions within a
python interpreter.
However, I have trouble understanding how I can also retrieve my C++
doxygen-style documentation as python docstrings, to be able to print
functions doc at runtime with help(myFunction).
I am working on Windows (64bits) and I have compiled shiboken (and pyside)
with docstring support (well, I linked libxml2 and libxslt which seem to be
the 2 documentation related libraries).

Is it at least possible to do something like that with the current version
of shiboken (1.1.1) ?

Many thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120528/02c71494/attachment.html>

More information about the PySide mailing list