|
|
(3 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| == Installing CMake ==
| | This page is obsolete, use [https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/build.md build.md] instead. |
| | |
| == 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. | |
| | |
| Later when you configure VTK, remember to pass the option
| |
| cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake /path/to/VTK
| |
| | |
| Alternatively, [http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/qt-everywhere-opensource-src-5.2.1.tar.gz Download the source tarball] and build Qt yourself. If you do this, you'll need to include the path to Qt in your CMAKE_PREFIX_PATH
| |
| cmake -DCMAKE_PREFIX_PATH:PATH=/path/to/Qt5.2.1/5.2.1/gcc_64
| |
| | |
| === 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
| |
Latest revision as of 18:37, 25 August 2021
This page is obsolete, use build.md instead.