Please fill out the following information to help in answering your question, and also see tips for posting code snippets
_Geant4 Version:_11.0.4
_Operating System:_win10
Compiler/Version:
The GUI is different from what I am familiar with.
It should be like :
Did the build/install of Geant4 itself have Qt support enabled (i.e. -DGEANT4_USE_QT=ON
)? If it did, what /vis/open
command, if any, is called in any macro(s) being run?
Thanks for replying !But i dont know how to make -DGEANT4_USE_QT=ON
?
Sorry, that’s an argument that needs to be supplied to CMake when building Geant4 itself (not the end application). So it would be something like:
> cmake -DGEANT4_USE_QT=ON /path/to/geant4-sources/
If you use the CMake GUI, then it should appear as an option there that can be ticked to enable it. Provided Qt5 is installed in a standard way, it should pick things up.
Note that this does require a rebuild/install of the Geant4 itself, and then the application to be rebuilt to pick up that changes.
You are right!
Thanks a lot