The configuration for using VTK with QT are borrowed from here
- Grab Qt 4.5.3 here.
- Launch CMake. Set the build directory to where you want to build VTK and the source directory to the VTK source tree.
- Turn on the following options:
- Turn off the VTK_USE_COCOA option.
- Click “Configure”.
- Set DESIRED_QT_VERSION to 4.
- Click “Configure” again.
- Turn on VTK_USE_QVTK_QTOPENGL
- Click “Configure” yet again.
- Click “Generate”.