Cmake giving an error saying that Qt 5.14.2 is not usable

769 Views Asked by At

cmake error

Here is the error that I am receiving from cmake. It is able to find qt5 but it is deeming it unusable. Any suggestions to fix this?

CMake Error at /Applications/CMake.app/Contents/share/cmake-3.17/Modules/FindQt4.cmake:1314 (message):
  Found unsuitable Qt version "5.14.2" from
  /usr/local/Cellar/qt/5.14.2/bin/qmake, this code requires Qt 4.x
Call Stack (most recent call first):
  cmake/Modules/Geant4InterfaceOptions.cmake:120 (find_package)
  cmake/Modules/G4CMakeMain.cmake:64 (include)
  CMakeLists.txt:55 (include)
0

There are 0 best solutions below