qt配置opencv时,用到cmake,弹出窗口“Error in configuration process, project files may be invalid”错误,主窗口显示“CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.”如下图:

qt cmake 中 Error in configuration process, project files may be invalid

上述错误源自没有找到正确的make工具。

解决如下图:

将CMAKE_MAKE_PROGRAM的值改为qt的mingw32-make.exe,configure即可。

qt cmake 中 Error in configuration process, project files may be invalidqt cmake 中 Error in configuration process, project files may be invalid

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2021-06-29
  • 2021-12-22
猜你喜欢
  • 2021-09-19
  • 2022-01-09
  • 2021-12-06
  • 2021-06-30
  • 2022-01-03
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案