VTK/Building/MacOSX: Difference between revisions

From KitwarePublic
< VTK‎ | Building
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
== Installing CMake ==
== Installing Qt ==
== Installing Qt ==
[http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-mac-x64-clang-5.2.1.dmg Download the Qt5.2 Installer] and install into a directory of your choosing.
[http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-mac-x64-clang-5.2.1.dmg Download the Qt5.2 Installer] and install into a directory of your choosing.
Line 4: Line 6:
Later when you configure VTK, remember to pass the option
Later when you configure VTK, remember to pass the option
  cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake /path/to/VTK
  cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake /path/to/VTK
== Installing CMake ==
== Installing VTK ==


=== Configure ===
=== Configure ===

Revision as of 19:39, 28 April 2014

Installing CMake

Installing Qt

Download the Qt5.2 Installer and install into a directory of your choosing.

Later when you configure VTK, remember to pass the option

cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake /path/to/VTK

Configure

  ccmake ../VTK -G "UNIX Makefiles"        \
         -DVTK_USE_QVTK:BOOL=ON            \
         -DVTK_USE_CARBON:BOOL=ON          \
         -DCMAKE_INSTALL_PREFIX=/usr/local \
         -DVTK_USE_GUISUPPORT:BOOL=ON

Build

 make

Install

 make install