[PySide] Can I use SIP to generate Python binding for my Qt C++ library then call it in PySide?

John Ehresman jpe at wingware.com
Mon Jan 14 17:14:29 CET 2013


On 1/13/13 9:00 PM, ZHONG Zhu wrote:
> I have to choose PySide due to the license. But its Shiboken tool is so
> lack of documentations. I can't successfuly generate a binding for my Qt
> C++ libraries.
> Looks like SIP is more mature at least on the documentation part. Is it
> possible for me to generate the binding using SIP, then run my python
> code on PySide to call the binding? My users’ environment would be
> Windows XP + Python 2.7 + PySide 1.1.2 (Window installer based,
> installed to C:\Python27\Lib\site-packages\PySide).

I don't think it would work to mix sip generated bindings with PySide.
Did you find any documentation on generating bindings for Qt based
libraries?  I didn't find much when I looked, though there is a blog
post at http://lynxline.com/superhybrids-part-2-now-qt-pyside/

Cheers,

John



More information about the PySide mailing list