[Qt-creator] VTK with Qt creator

Jothy jothybasu at gmail.com
Wed Jul 21 13:03:10 CEST 2010


Hi Guys,

I want to use vtk with Qt creator,. I have built vtk and had it installed in
C:\VTK and it has vtk\bin,vtk\lib,vtk\plugin,vtk\include.

Now, how to use them in Qt creator

I found after some search, I have to add

LIBS += -LC:\Program Files\VTK -lvtkCommon -lvtksys -lQVTK -lvtkQtChart
-lvtkViews -lvtkWidgets -lvtkInfovis -lvtkRendering -lvtkGraphics
-lvtkImaging -lvtkIO -lvtkFiltering -lvtklibxml2 -lvtkDICOMParser -lvtkpng
-lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkalglib -lvtkexpat -lvtkverdict
-lvtkmetaio -lvtkNetCDF -lvtksqlite -lvtkexoIIc -lvtkftgl -lvtkfreetype
-lvtkHybrid

INCLUDEPATH += C:\Program Files\VTK

to the *.pro file.


Is this correct?

I am yet to try this!

Thank you

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100721/04869d0b/attachment.html 


More information about the Qt-creator-old mailing list