I am using Windows 10, CMake 3.18.0, and Visual Studios 2019. I had previously installed Geant4 without using cmake -DGEANT4_USE_OPENGL_WIN32=ON. Regardless, OpenGL worked for about a week and now it stopped. So I am trying to reinstall Geant4 by explicitly using
But that gives me the error
C:\Geant4\geant4-build> cmake -DGEANT4_USE_OPENGL_WIN32=ON .
CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!
See also “C:/Geant4/geant4-build/CMakeFiles/CMakeOutput.log”.
See also “C:/Geant4/geant4-build/CMakeFiles/CMakeError.log”.
I know that I have OpenGL 4.5. I didn’t think I needed to install Qt 4.