[vtkusers] QtCreator + VTK Compilation

Rao Ruvva KRuvva at robodoc.com
Fri Sep 17 14:44:08 EDT 2010


Thanks Barney.

Infact there was an error in my INCLUDEPATH. It compiles now.

Rao
________________________________________
From: Barney Sperlin [bsperlinus at yahoo.com]
Sent: Friday, September 17, 2010 11:22 AM
To: Rao Ruvva
Subject: Re: [vtkusers] QtCreator + VTK Compilation

Hi Rao,
    This just might be an error in your post, but the error message you list has a different spelling than that of the .h file you want to use.
     Barney

--- On Fri, 9/17/10, Rao Ruvva <KRuvva at robodoc.com> wrote:

From: Rao Ruvva <KRuvva at robodoc.com>
Subject: [vtkusers] QtCreator + VTK Compilation
To: "vtkusers at vtk.org" <vtkusers at vtk.org>
Date: Friday, September 17, 2010, 1:49 PM

Hello All,

I am new to both Qt and VTK community.

1. I built both VTK5.6 and QtCreator2.0.1 (with Qt4.7)  on my Linux (Ubuntu 10.04) system.

2. Now I created a helloworld app using QtCreator and included QVTKWidget.h in mainwindow.cpp. Not even instantiated any QVTK widget yet.

3. Added the following line in .pro file

INCLUDEPATH +=/usr/local/include/vtk5.6

LIBS += -L/usr/local/lib/vtk-5.6 -lQVTK

When I compile, I get "QVTKWidhet.h : No such file or directory" error.

I checked the include directory for the QVTKWidget.h file. It is there What else am I missing here. Any other environmental variables?

Thanks
Rao
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list