Hello, I try to install Geant4 10.6 with the option -DGEANT4_USE_QT=ON (“cmake --DGEANT4_USE_QT=ON …”) during the cmake step. Here is what I get
-- Detecting CXX compile features - done -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.7") CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1314 (message): Found unsuitable Qt version "5.12.6" from /usr/bin/qmake, this code requires Qt 4.x Call Stack (most recent call first): cmake/Modules/Geant4InterfaceOptions.cmake:117 (find_package) cmake/Modules/G4CMakeMain.cmake:64 (include) CMakeLists.txt:50 (include) -- Configuring incomplete, errors occurred! See also "/home/pamputt/geant4.10.06/build/CMakeFiles/CMakeOutput.log".
I removed the first lines. I am a bit lost because it is written in the release notes that Qt4 is deprecated. Here cmake finds my version of Qt5 but does not want to use it. Any hints on how to solve that? I would prefer using Qt5 and not installing Qt4.
Here is the output of “qmake -v”
QMake version 3.1 Using Qt version 5.12.6 in /usr/lib64