2

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 python's code for displaying opencv's image in Qt form.

4

1 に答える 1

5

sipライブラリ(PyQtで使用される)を使用して、ウィジェットのPythonラッパーを作成する必要があります。ドキュメントには、Qt /C++ウィジェットの簡単な例があります。

于 2009-10-22T14:15:47.520 に答える