[Gate-users] How to use Qt (OGLIQt) on Mac?
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Fri Apr 8 02:17:53 CEST 2011
Hello,
I have managed to install Gate on Mac after recompiling CLHEP and
Geant4 with enabled dynamic libraries. The OGLIX visualisation driver
also works fine, however I cannot run anything with OGLIQt
visualisation. It starts complaining about:
[G4-cerr]
!!! GateMDBFile:
The definition of the element/material 'Air' is incorrect:
The unit found for the density field ('.29 mg/cm3')
is not in the list of autorised units
('g/cm3','g/m3','g/mm3','kg/cm3','kg/m3','kg/mm3','mg/cm3','mg/m3','mg/mm3')
for this field.
You should check this definition in the database file.
Computation aborted!!!
[G4-cerr]
[G4-cerr] *** G4Exception: Aborting execution ***
^CAbort trap
I do understand the symptom: Qt visualisation also requires the
terminal to be replaced with the "Qt UI", while Gate simply runs as a
console application. But when I compile plain Geant4 applications, I
get Qt UI by default.
How should I modify Gate compilation (or some other way that you could
suggest me), so that I would get Qt user interface by default?
Thank you very much,
Mojca
More information about the Gate-users
mailing list