-
Notifications
You must be signed in to change notification settings - Fork 146
Building GUIs on macOS
Frederic Tessier edited this page Apr 21, 2021
·
17 revisions
To compile the EGSnrc Qt graphical user interfaces on macOS, open the Terminal application and follow these steps:
- Install Homebrew with the following command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Use Homebrew to install qt4:
brew install cartr/qt4/qt
On newer OS X versions, use:brew install qt
- Find out the path to the Qt installation directory:
brew info qt | grep Cellar
- Define a corresponding
QTDIR
environment variable:export QTDIR=/path/to/qt/
- Go to
$HEN_HOUSE/gui/egs_gui
and issue themake
command - Go to
$HEN_HOUSE/gui/egs_inprz
and issue themake
command - Go to
$HEN_HOUSE/egs++/view
and issue themake
command
Note that qmake
uses its own compiler configuration, in $QTDIR/mkspecs
.
You should now be able to launch each GUI from the Terminal command line:
open -a egs_gui
open -a egs_inprz
open -a egs_view
- Overview
- Install on VirtualBox
- Install on Linux
- Install on macOS
- Install on Windows
- Quick installation
- Upgrading