MacOSX
MITK on MacOS
General
MacOS support for MITK is rather new. This page summarizes how to build a MacOS version and some known issues.
Building the required toolkits
Use Qt with Cocoa support
If you are running MacOS 10.5 or higher, make sure to use the Cocoa version of Qt. The Carbon version produces some unwanted effects e.g. in rendering.
You can select the right version here: http://qt.nokia.com/downloads/mac-os-cpp
Building VTK
(These notes apply to VTK 5.4.2)
Some notes about MacOS, Cocoa and VTK from Kitware can be found here: http://www.vtk.org/Wiki/Cocoa_VTK
Download VTK and configure it using CMake. Use these options:
BUILD_SHARED_LIBS = ON VTK_USE_PARALLEL = ON VTK_USE_GUISUPPORT = ON (advanced option)
(configure)
VTK_USE_QVTK = ON
(configure)
DESIRED_QT_VERSION = 4
(configure) (configure) (generate)
Build...
make
Then optionally install (recommended).
make install
Building ITK
ITK builds without problems. Download it from www.itk.org, configure using CMake, then build and install. The only important CMake option is:
BUILD_SHARED_LIBS = ON
Building MITK
Nothing different from Linux or Windows, a link to some general page should come here.
Known issues
With this VTK/Qt combination renderwindows don't draw, but at least:
- text edit boxes show a blinking cursor
- render window "buttons" are drawn correctly
All known explicit MacOS issues: Bugzilla list