[vtkusers] Problem [Example BorderWidget with Qt]

John Drescher drescherjm at gmail.com
Wed Jul 11 08:18:45 EDT 2012


> No, I am trying to do a borderWidget example  with Qt :
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/BorderWidget
>
> I am working on MS Visual Studio 2010 and Qt 4.8.2 or 4..6.3
> But I can't compile this example
> I always receive an error about :
>
> Error 1 error C1083: Cannot open include file: 'ui_SimpleView.h': No such
> file or directory C:\TutorialsQT\BorderWidget2\sources\SimpleView.cxx 1 1
> QtBorderWidget
>
>
> I don't know what I have to chagne what is wrong ?
>
> I would appreciate for any help and advice please  ;)
>

Make sure that ui_SimpleView.h is being generated by moc. It looks
like it should work if you used the provided CMakeLists.txt. I believe
I have run this example on windows with a 2.8.X version of CMake to
generate the VS project.

John



More information about the vtkusers mailing list