OpenCV configuration into Qt

The main general steps, see the following link

https://blog.csdn.net/sinat_36264666/article/details/73200739

The key configuration is as follows:

1, when adding environment variables, adding attention to the following three:

Here Insert Picture Description

2, the configuration of the compiling cmake-gui:

Check WITH_OPENGL
check WITH_QT
check ENABLE_CXX11

Uncheck ENABLE_PRECOMPILED_HEADERS (disable precompiled headers)
do not check WITH_IPP
uncheck WITH_MSMF
uncheck WITH_OPENCL_D3D11_NV

3, related to python is not checked;

Here Insert Picture Description

4, after the successful compilation, put C: \ opencv \ install \ bin into the environment variable. install folder to your folders before compiling;

5, selection of the 32 qt compiler, and cancel the following yellow hook;

Here Insert Picture Description

Released eight original articles · won praise 9 · views 7177

Guess you like

Origin blog.csdn.net/weixin_41536025/article/details/104300721