[vtkusers] CMAKE + VTK + QT
Clinton Stimpson
clinton at elemtech.com
Tue Sep 15 13:16:48 EDT 2009
>
> A strange thing I must have noticed first, is that when I built vtk, I
> can't turn on/off VTK_USE_QVTK and VTK_USE_GUISUPPORT.
>
> The options are not available in cmake when I run "ccmake ../VTK", to
> configure cmakelists before building VTK.
>
Hit the 't' button in ccmake to see advanced variables.
You'll see VTK_USE_GUISUPPORT. Turn it on, and configure again, then
VTK_USE_QVTK will show up. Turn it on, then configure again. Then the Qt
related variables will show up.
So yes, you need to build VTK with Qt support before you can build examples.
Or, install the libvtk5-qt4-dev package (from previous messages, you were
using ubuntu, right?), if you don't have a real reason to build it yourself.
Clint
More information about the vtkusers
mailing list