简体   繁体   English

Visual Studio 2013控制台应用程序中的Qt和opencv

[英]Qt and opencv in a Visual Studio 2013 Console Application

I'm trying to use Qt and OpenCV in Visual Studio 2013. OpenCV is working fine; 我正在尝试在Visual Studio 2013中使用Qt和OpenCV。 however, when I try to link to Qt libraries, I get the error: 但是,当我尝试链接到Qt库时,出现错误:

OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in cv::fontQt, file .... OpenCV错误:在cv :: fontQt文件...中未实现功能/功能(在没有QT支持的情况下编译了库)。

I have installed the Visual Studio Add-in. 我已经安装了Visual Studio加载项。 What else do I need to do to get this working. 我还需要做些什么才能使它正常工作。 I've looked on the Internet for how to do this, but most pages I find seem to require using QtCreator, or making a QtProject inside Visual Studio. 我已经在Internet上找到了执行此操作的方法,但是我发现大多数页面似乎都需要使用QtCreator或在Visual Studio中创建QtProject。 I need to have a console application in Visual Studio that links to Qt. 我需要在Visual Studio中有一个链接到Qt的控制台应用程序。 I am a complete beginner with Qt, and a beginner with C++ and Opencv. 我是Qt的完整初学者,也是C ++和Opencv的初学者。

Any help would be appreciated. 任何帮助,将不胜感激。 Thanks. 谢谢。

确保已将库文件夹包含在“项目属性”->“链接器”->“其他库目录”位置中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM