OpenCV和QT之间的集成 [英] Integration between OpenCV and QT

查看:328
本文介绍了OpenCV和QT之间的集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是QT和OpenCV开发的完全新手 - Acutally C ++一般。我想开发一个应用程序与OpenCV并创建其与Qt的接口。我没有得到的是,我如何整合这两个部分?

I'm completely newbie to QT and OpenCV development - Acutally C++ in general. I would like to develop one application with OpenCV and create its interface with Qt. What I'm not getting is, how do I integrate both parts?

我的意思是,开发java我只使用eclipse它给我JFrame和其他类的GUI和应用程序开发。要使用OpenCV,我添加了C ++ IDE;但是即使QT有它的IDE,我可以完全使用Eclipse导入Qt库来开发我的应用程序的GUI吗?

I mean, to develop java I use only eclipse which gives me JFrame and other Classes for both GUI and App development. To work with OpenCV I added the C++ IDE; But even that QT has its IDE, May I fully work with Eclipse importing Qt Libraries to develop the GUI of my application?

推荐答案

Qt和OpenCV只是C ++库,你可以在任何C ++环境中使用它们支持的C ++编译器。 Eclipse与您选择的(支持)C ++编译器将是一个选择。 Visual C ++如果你在Windows上是另一个。

Qt and OpenCV are just C++ libraries, you can work in any C++ environment with a C++ compiler supported by them. Eclipse with a (supported) C++ compiler of your choice would be one alternative. Visual C++ if you're on Windows is another.

Qt有独立的工具,你可以用来设计用户界面,例如 Qt Designer Qt语言学家。 Qt还有一个优秀的C ++跨平台开发环境,称为Qt Creator,你可能想要仔细看看。有关可用工具的概述,请访问此处。只是为了清楚,Qt Creator不是用于Qt开发的,你可以添加任何C ++库,如OpenCV库。

Qt has stand-alone tools that you can use to design the user interface in, such as Qt Designer and Qt Linguist. Qt also has an excellent C++ cross-platform development environment called Qt Creator that you may want to take a closer look at. An overview of the tools available can be found here. And just to be clear, Qt Creator is not for Qt only development, you can add any C++ library, like the OpenCV library.

这篇关于OpenCV和QT之间的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆