[PySide] Using existing, handwritten bindings with PySide2?

John Terrell john at alphapixel.com
Wed Aug 23 19:06:45 CEST 2017


Hi everyone, new list member here.  My company has a bunch of legacy C++
libraries with hand-written python bindings.   I have a need to create a
PySide2 Qt widget in front of this logic but allow methods on the new
widget be able to return Python objects that use the existing bindings.
Does PySide2 provide a mechanism to do this?   Currently, shiboken2 ignores
the methods on my Qt class that return the internal objects that have the
custom bindings (probably because shiboken doesn't know how about the
bindings for those objects).   What's are my options here?   Do I need to
resort to injecting a bunch of custom code to handle this?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20170823/7f226a44/attachment.html>


More information about the PySide mailing list