开发者

Connect opencv to qtcreator

I have VC++ & opencv code and I want to design GUI to it using qtcreator.

First of all, I included 开发者_JS百科the libraries to the project and it ran without any errors.

Now, what should I do after this?

How can I add the code into main.cpp file in the project?

should I change every opencv code to Q... like IpImage to QImage?


Install the VS-addin it will hook the.pro file to a gui editor automatically


About connecting OpenCV to Qt GUI classes , here is an example code QtOpenCV 1 . It takes content ipmage ,IIRC converts into rgb32 and paints it over a QWidget in paintEvent(QPaintEvent*);

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜