[vtkusers] QtCreator + VTK Compilation
Rao Ruvva
KRuvva at robodoc.com
Fri Sep 17 13:49:58 EDT 2010
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
More information about the vtkusers
mailing list