Qt5 OpenCV2.4 Configuration

Download CMake 2.8.2

Download OpenCV 2.4.11

Download Qt 5.4

Open CMake 2.8.2, set the source and build directory:

Click "Configure", choose "MinGW Makefiles" and "Specify native compliers"

Set the C and C++ compiler from the Qt SDK

Don‘t forget to add the following to the system path:

C:\QtSDK\5.4\mingw491_32\bin

C:\QtSDK\Tools\mingw491_32\bin

Then click "Configure" and "Generate", then open cmd and go the build directory, and run "mingw32-make"

When it is done, then run "mingw32-32 install" and hit enter again

时间: 2024-08-09 06:33:30

Qt5 OpenCV2.4 Configuration的相关文章

qml+opencv(三)人脸检测与识别

ccface 介绍 这个我闲的蛋疼无聊做的一个人脸检测和识别的小程序. 环境 Qt5+opencv2.4.9 使用 通过File菜单打开关闭摄像头 ID填入标识,save保存 select 识别 检测 save 识别 程序地址: https://git.oschina.net/zhouX/ccface.git

win7 Qt-5.3.1 cmake-2.8.11.2 opencv-2.4.11平台搭建

在Qt平台上使用OpenCV方法 首先下载好安装程序: 1.qt-opensource-windows-x86-mingw482_opengl-5.3.1.exe 2.cmake-2.8.11.2-win32-x86.exe 3.opencv-2.4.11.exe   (下载地址百度即可) Qt完全安装包含MinGW和OpenGL,安装(解压)OpenCV2.4.11,安装cmake2.8.11.2. 开始编译MinGW下的OpenCV,运行cmake-gui,源码路径为安装(解压)后的Open

Win7(32bit)下Qt5.5.0和OpenCV2.4.9环境的搭建

之前一直基于Windows平台(Win 7 32bit)使用VS2010做OpenCV的开发,现在开始学习在Windows 下使用Qt做OpenCV的开发.本文主要讲述Windows平台下(Win 7 32bit)下Qt5.5.0和OpenCV2.4.9环境的搭建.在此之前,我已安装好Qt5.5.0(with MinGW492)和OpenCV2.4.9(for Windows),并且配置好了它们的环境变量. 开发工具安装 Qt 5.5.0(qt-opensource-windows-x86-mi

Win7下qt5.3.1+opencv2.4.9编译环境的搭建(好多 Opencv2.4.9源码分析的博客)

到官网下载qt-opensource-windows-x86-mingw482_opengl-5.3.1.exe文件,执行该文件,选择默认安装即可实现QT的安装(安装在C盘的根目录下),该文件封装好了Qt libraries.Qt Creator,其中Qt Creator为3.1.2版本. 到官网http://opencv.org/downloads.html下载OpenCV for Windows2.4.9版本——opencv-2.4.9.exe.执行该文件,把它解压到适当的目录下即可,我是把

Qt5.4.2Mingw编译配置opencv2.4.9

1 下载所需工具 (1)qt-opensource-windows-x86-mingw491_opengl-5.4.2.exe  842M 下载地址https://download.qt.io/archive/qt/5.4/5.4.2/ (2)OpenCV  for windows(opencv-2.4.9.exe  348M) 下载地址http://opencv.org/downloads.html (3)cmake-2.8.12.2-win32-x86.exe  10M 下载地址https:

qt5.3.1+opencv2.4.9编译环境的搭建

到官网下载qt-opensource-windows-x86-mingw482_opengl-5.3.1.exe文件,执行该文件,选择默认安装即可实现QT的安装(安装在C盘的根目录下),该文件封装好了Qt libraries.Qt Creator,其中Qt Creator为3.1.2版本. 到官网http://opencv.org/downloads.html下载OpenCV for Windows2.4.9版本--opencv-2.4.9.exe.执行该文件,把它解压到适当的目录下即可,我是把

Qt5.3.1 OpenCV2.4.9 开发环境配置

首先是将我们需要的三个软件安装:分别是OpenCV2.4.9.QT5.3.1 .Cmake3.0.2 一定要使用Cmake3.0.2编译OpenCV2.4.9 其他版本的不一定能编译成功!!!! A.Cmake Cmake安装 Cmake安装文件夹  B.OpenCV 安装 opencv安装的文件路径 opencv安装的过程 C.QT的安装 别忘了把Qt的BIN路径和Qt Tools Bin路径的放进环境变量里!!! D.Cmake编译OpenCV 编译路径要原则E:\opencv安装的路径 目

Configuration of OpenCV2.1.0 with VS2010

Add in the system Path: C:\Program Files (x86)\OpenCV-2.1.0\build\bin\Debug Project->Project Property->Configuration Properties->VC++Directories ->Include Directories: C:\Program Files (x86)\OpenCV-2.1.0\include\opencv. Project->Project Pro

Could not find a configuration file for package opencv2解决 方法

Remove OpenCv Opencv2 etc. from your run and build depends (in package.xml) as well as from the line find_package( catkin REQUIRED COMPONENTS .... (in CMakeLists.txt) With catkin in groovy/hydro OpenCV is always embedded as stand-alone package using: