Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SLIC can be installed supporting Qt which can be useful when looking at geometries interactively. These instructions worked for Qt 4.8.5 and slic hps_v01-00-02 tag on a mac os x (Lion) with gcc i686-apple-darwin11-llvm-gcc-4.2

 

  1. Install Qt
  2. After following the above instructions but before running the ilcsoft-install commmand edit ./examples/slic/hps-scratch.cfg with 

    No Format
    Code Block
    geant4.envcmake["GEANT4_USE_QT"]='ON' # requires qt
    geant4.envcmake["QT_QMAKE_EXECUTABLE"]='/usr/local/Trolltech/Qt-4.8.5/bin/qmake' 

     

    Note that your path to the Qt executable might be different.

  3. Complete the slic installation as per above instructions.

To use the nice visualization tool add the following to the macro:

Code Blocknoformat
/vis/open OGLI