Shiboken was written for the official Python Qt bindings(PySide). They actually were originally using Boost::Python, but they switched to Shiboken because the binaries were a lot smaller. Unfortunately, there isn't too much documentation. Here are some links:

http://seanfisk.com/pyside-docs/shiboken/ - The docs for Shiboken itself
http://seanfisk.com/pyside-docs/apiextractor/ - The docs for the typesystem files that describe the bindings to be made
http://lynxline.com/superhybrids-part-2-now-qt-pyside/
http://qt-project.org/wiki/PySide_Binding_Generation_Tutorial
http://qt-project.org/wiki/PySide_Shiboken_Tutorial - Short but a tad helpful
https://qt.gitorious.org/pyside/shiboken/source/a527dd51e69b80c2d5be3a1d8cd60ab2b2616fa5:tests - The tests. Folders that begin with "lib" are the C++ code that will be bound, the ones ending in "binding" are the actual bindings. Note that one of these is VERY long!
https://qt.gitorious.org/pyside/pyside/source/d2a47ab8f27af7e74d34797464da85c128c17c37:PySide - The best(and largest) example of all: PySide itself.



On Thu, Jan 9, 2014 at 3:25 PM, Toby St Clere Smithe <mail@tsmithe.net> wrote:
Ryan Gonzalez <rymg19@gmail.com> writes:
> Every tried Shiboken? My guess is that it'd work better with cpyext thatn
> Boost::Python, since there's less black magic in the background.

No, I'd not heard of Shiboken, but it does look like an interesting
project. As I wrote in my reply to fijal, I quite like boost::python,
and as that's what my code is written in (and it took a while to write
it!), that's what I'm interested in right now. Nonetheless, I am looking
for alternatives (for a later version), so thanks.

Best,

Toby


_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev



--
Ryan
When your hammer is C++, everything begins to look like a thumb.