CMake Error at >/usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message): The imported target "Qt5::Core" references the file
but this file does not exist. Possible reasons include:
The installation package was faulty and contained
I have added the qt5 bin folder in the opt folder to the PATH but still getting the error.
How can this error be resolved? Is there a solution?