Embedding a matplotlib chart into Qt/C++ application

孤街醉人 提交于 2019-12-03 12:58:25

For PySide, I suggest reading this comp.lib.qt.pyside thread and also the section on type converters in the PySide docs. I can't vouch for the absolute correctness of this code, but it appears to do what you want.

For PyQt, the same comp.lib.qt.pyside thread links to an example of unwrapping SIP objects which is again exactly what you need.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!