win10环境下搭建QT+opencv

安装步骤

  • 源码编译安装
  • 免编译/cmake安装
  • vs2022环境安装

问题解决

  1. modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj] Error 1
PS D:\Qt\Tools\mingw730_64\bin> D:\Qt\Tools\mingw730_64\bin\windres.exe D:\Opencv\opencv\opencv\build\modules\core\vs_version.rc -O coff D:\Opencv\opencv\opencv\build\modules\core\CMakeFiles\opencv_core.dir\vs_version.rc.obj

然后继续执行 ​mingw32-make -j 8 进行编译。

你可能感兴趣的:(qt,opencv,qt,opencv)