开发者

PyQt custom widget in c++

开发者 https://www.devze.com 2022-12-09 08:05 出处:网络
Can I write custom Qt widget in pure C++, compile it and use in PyQt? I\'m trying to use the ctypes-opencv with qt and I have performance problems with开发者_如何学Go python\'s code for displaying op

Can I write custom Qt widget in pure C++, compile it and use in PyQt?

I'm trying to use the ctypes-opencv with qt and I have performance problems with开发者_如何学Go python's code for displaying opencv's image in Qt form.


You will have to write a Python wrapper for the widget, using the sip library (which is used by PyQt). There is a simple example for a Qt/C++ widget in the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消