Hi. I am looking for help with the Geant4 installation using Qt5 as the visualization driver.
Following the instruction, I was able to build and install Geant4 using Win32 OpenGL without any problem.I could also run the B1 exercise.
However, when I install Geant4 with Qt5.15 and run the B1 exercise, error messages pop up saying the following dll files are missing.
I am using VS2019 (community) on Windows 10 and geant4_10_06_p02. I doublechecked the OpenGL driver is installed (version 4.6.0). and I was able to locate those dll files in the Qt5 directory (C:\Qt\5.15.0\msvc2019\bin). I believe I set the DCMAKE_PREFIX_PATH correctly:
cmake -DCMAKE_INSTALL_PREFIX=/path/to/geant4.10.06-install -DCMAKE_PREFIX_PATH=“C:\Qt\5.15.0\msvc2019\lib\cmake” -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_QT=ON -DGEANT4_BUILD_MSVC_MP=ON /path/to/geant4.10.06
Some postings on the internet suggest to check the bitness. I tried all different versions of Qt5 (msvc2019, msvc2019_64, winrt_x86_msvc2019, winrt_x64_msvc2019). I also tried different versions (e.g., x64 Native Tools Command Prompt) of command prompt for VS2019. None of them worked. I still feel the bitness may be the source of the problem, but I do not know what else I can try.
Can you please help? Thank you.