Reputation: 2747
What is the best approach for wrapping a custom C++ library with custom Qt display widgets in Python for using in a PySide based QApplication? Does the C++ library need special treatment for wrapping with SWIG? Will wrapped Qt widgets integrate properly with PySide?
I would appreciate any comments on the appropriate nomenclature needed to refine my unsuccessful searches on this subject.
Upvotes: 3
Views: 2395
Reputation: 2747
The Shiboken bindings tool used to generate the PySide bindings for Qt turns out to be the right tool for the job.
The basic procedure for generating the bindings for a custom C++ library is outlined here: http://lynxline.com/superhybrids-part-2-now-qt-pyside/
Upvotes: 2