I want to compile this which requires Qt
5.14 and I have Qt 5.12 installed from my linux repository.I just compiled Qt from source and installed it in /usr/local/Qt-6.0.0/
(default location).
But CMake prints the following error although I've added set(CMAKE_PREFIX_PATH "/usr/local/Qt-6.0.0/include")
and/or set(CMAKE_PREFIX_PATH "/usr/local/Qt-6.0.0/")
:
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.12.8
/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.12.8