[vtkusers] Problem [Example BorderWidget with Qt]
David Doria
daviddoria at gmail.com
Wed Jul 11 07:18:22 EDT 2012
On Wed, Jul 11, 2012 at 2:50 AM, Agata Krasoń <agatakrason at gmail.com> wrote:
> Hi All ;)
>
>
> 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 ;)
>
>
> Best,
> agatte
You have to add your build directory to your include path. Qt
generates that ui_SimpleView.h file in the build directory, and your
build system currently isn't looking there for headers.
David
More information about the vtkusers
mailing list