[vtkusers] opening QVTKWidget in Qt

John Drescher drescherjm at gmail.com
Wed Jun 30 14:57:33 EDT 2010


On Wed, Jun 30, 2010 at 2:50 PM, Prathamesh Kulkarni
<prathameshmkulkarni at gmail.com> wrote:
> Al I am getting in a debud build of vtk is the following:
>
> in the directory C:\VTK\bin\GUISupport\Qt\QVTKWidgetPlugin.dir\Debug:
>
> moc_Q4VTKWidgetPlugin
> mt.dep
> Q4VTLWidgetPlugin
> Q4VTLWidgetPlugin.embed.manifest
> Q4VTLWidgetPlugin.intermidiate.manifest
>
> However, none of these is helping me, in any way to have a QVTKWidget
> in my .ui file. I get the same error :  Cannot open include file
> QVTKWidget.h: no such file or directory. :(
>

This works in my projects with the standard

FIND_PACKAGE( VTK REQUIRED )
INCLUDE( ${VTK_USE_FILE} )

in my CMakeLists.txt file for my application.

John



More information about the vtkusers mailing list