尝试在 Windows 10 上配置 cmake

尝试在 Windows 10 上配置 cmake

当我尝试配置 CMake 时,请帮助我解决此错误...我在 Windows 10 上遇到了这个错误

错误

CMake Error at cmake/OpenCVFindLibsGUI.cmake:18 (find_package):
  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:784 (include)


Configuring incomplete, errors occurred!
See also "E:/projectp/CMakeFiles/CMakeOutput.log".
See also "E:/projectp/CMakeFiles/CMakeError.log".

相关内容