Enabling/disabling Qt is part of the build of Geant4 so an existing install can’t be updated easily (unless you still have the build directory for that install). If TOPAS is relying on a pre-existing install of Geant4 (i.e. it does not come with a set of Geant4 libraries), then all you would need to do is do a new build/install Geant4 enabling Qt support and point TOPAS as that. The instructions for that are in the Installation Guide, see the GEANT4_USE_QT cmake option.
As a TOPAS developer as well as a Geant4 developer, I do know that TOPAS comes as a package that includes Qt. No need to install either Geant4 or Qt. In fact, if you have installations of Geant4 or Qt on your system, keep TOPAS way from them. That might be the source of your troubles.
So, have another look at the TOPAS Installation Guide. You must have missed something.
Okay I’ll check this.
If you can tell how to to keep TOPAS away from GEANT4 .Because as you said I have installed both GEANT4 and TOPAS .
I have installed TOPAS, Tool for Particle Simulation Version 3.1.p3 .
Actually when I am trying to run the TOPAS examples it shows the result in View A and the exact problem is that it does not open in GUI .
Hence can you suggest any solution to this .
I don’t know whether TOPAS uses shared of static libraries for Geant4, but if shared, then do you have the path to your local install of Geant4 in the environment variable LD_LIBRARY_PATH? If so, that may be confusing TOPAS. Check the value of that environment variable to see if that’s the case. You can also try running
$ ldd <path/to/TOPAS/program>
which should print which libraries, such as Geant4, it is actually picking up.
Hello can you help me in running the TOPAS example file
I am trying to run the scoring file specifically the Origincount.txt file .But it is showing error that is
Error in the scoring setup ,
"TOPAS exiting due to a serious error in scoring setup
sc/MyScorer/Quantity has unknown value: OriginCount . "
can you tell why it is saying unknown value ,is it because of the version of TOPAS ,do I need to update it ?
Thank You