Hello, I am new using Qt, and I need to link opencv libraries in Qt for a project that includes image processing, this I already had done in linux, but when executing it in window it does not recognize opencv libraries when including them, nor when adding them is the .pro.
When trying to compile opencv to link with Qt according to the steps shown in the url https://stackoverflow.com/questions/...use-qt-library, after step 6.3, I receive the following error in executing cmake
CMake Error at CMakeLists.txt:18 (include):
include could not find load file:

cmake/OpenCVMinDepVersions.cmake


CMake Error at CMakeLists.txt:78 (include):
include could not find load file:

cmake/OpenCVUtils.cmake


CMake Error at CMakeLists.txt:79 (ocv_cmake_reset_hooks):
Unknown CMake command "ocv_cmake_reset_hooks".


Configuring incomplete, errors occurred!

First it gave me the error that the CMakeLists.txt file did not exist in the opencv folder, and I added it manually as it is on the github. After doing so, when I hit the button "Configure", I received the error.
I thank in advance who can help me to solve this problem.