[vtkusers] VTK and Qt Build

clinton at elemtech.com clinton at elemtech.com
Thu Jul 26 16:11:11 EDT 2007


What version of VTK is this?

Clint

> I had the same problem...
>
> As the only thing you need is a couple of cxx & h files, just take them
> and copy them to your project, including and linking the rest of the VTK
> library as normally. Go to the GUIsupport->qt folder and take the files
> (but the qt3 one). Forget that Cmake option...
>
> Maybe is not solving it in a clean way, but for me it worked.
>
> Good luck!
>
> .alvaro.castro.
>
> > Dear VTK Users
> >     I'd like to use Qt 4 GUI support for VTK. In order to this I set the
> > following required options in CMake configuration as
> >
> > VTK_USE_GUISUPPORT = ON
> >
> > and
> >
> > VTK_USE_QVTK = ON
> >
> > But after the pressing the configure button,  VTK_USE_QVTK option returns
> > to
> > its default value OFF when it's finished configuration checking though
> > CMake
> > doesn't return any error or warning about the availability of Qt library.
> > I'd be grateful to anyone who help me resolve this issue.
> >
> >     Sincerely
> >     Cem DEMiRKIR
> >
> > My Configuration is for build as follows:
> > OS : WinXP SP2
> > Compiler and IDE : VS2005 VC8.0
> > CMake Version : 2.4.7
> > Qt : 4.2.2 integrated with VS2005
> >



More information about the vtkusers mailing list