22
33MinGW version of OpenCV compiled on Windows.
44
5- * [ OpenCV 3.3.1] ( https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.3.1 )
6- * OpenCV 3.4.1
5+ ## [ OpenCV 3.4.1] ( https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.4.1 )
6+
7+ ```
8+ git clone -b OpenCV-3.4.1 git@github.com:huihut/OpenCV-MinGW-Build.git
9+ ```
10+
11+ ## [ OpenCV 3.3.1] ( https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.3.1 )
12+
13+ ```
14+ git clone -b OpenCV-3.3.1 git@github.com:huihut/OpenCV-MinGW-Build.git
15+ ```
716
817## Compiling Environment
918
@@ -20,21 +29,24 @@ MinGW version of OpenCV compiled on Windows.
2029
2130Add OpenCV library file and include path to Qt ` .pro ` file.
2231
23- My OpenCV file is located in ` E:\OpenCV-MinGW-Build ` , So the configuration is as follows:
32+ * My version of OpenCV : ` OpenCV 3.3.1 `
33+ * My OpenCV path : ` E:\OpenCV_3.3.1\OpenCV-MinGW-Build `
34+
35+ So the configuration is as follows (** You need to modify it according to your OpenCV.** ) :
2436
2537```
2638win32 {
27- INCLUDEPATH += E:\OpenCV-MinGW-Build\include
28- LIBS += E:\OpenCV-MinGW-Build\bin\libopencv_*.dll
39+ INCLUDEPATH += E:\OpenCV_3.3.1\ OpenCV-MinGW-Build\include
40+ LIBS += E:\OpenCV_3.3.1\ OpenCV-MinGW-Build\bin\libopencv_*.dll
2941}
3042```
3143
3244or
3345
3446```
3547win32 {
36- INCLUDEPATH += E:\OpenCV-MinGW-Build\include
37- LIBS += -LE:\OpenCV-MinGW-Build\bin \
48+ INCLUDEPATH += E:\OpenCV_3.3.1\ OpenCV-MinGW-Build\include
49+ LIBS += -LE:\OpenCV_3.3.1\ OpenCV-MinGW-Build\bin \
3850 -llibopencv_calib3d331 \
3951 -llibopencv_core331 \
4052 -llibopencv_dnn331 \
@@ -53,5 +65,4 @@ LIBS += -LE:\OpenCV-MinGW-Build\bin \
5365 -llibopencv_videoio331 \
5466 -llibopencv_videostab331
5567}
56- ```
57-
68+ ```
0 commit comments