The configuration for using VTK with QT are borrowed from here
In summary:
- 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:
- BUILD_SHARED_LIBS
- VTK_USE_QT
- VTK_USE_CARBON
- VTK_USE_GUISUPPORT
- 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”.
No comments:
Post a Comment