I get these following errors during build of a file using CMake:
CMake Warning at CMakeLists.txt:33 (FIND_PACKAGE): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but CMake did not find one. Could not find a package configuration file provided by "Qt5Core" with any of the following names: Qt5CoreConfig.cmake qt5core-config.cmake
Anybody know how to solve this? Thanks in advanceAnswer1:
You should find the cmake packages in your Qt installation in:
<install_prefix> is the root path of your installation. Set the variable Qt5_DIR to
<install_prefix>/lib/cmake/Qt5 in your configuration and cmake should be able to find all the modules
Maybe, you should try to add the proper path to the
CMAKE_PREFIX_PATH variable in the environment or config.
path_to with your real path.