0

cmake错误

这是我从 cmake 收到的错误。它能够找到 qt5,但它认为它不可用。有什么建议可以解决这个问题吗?

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)
4

0 回答 0