[Qt-creator] VTK with Qt creator

bill.king at nokia.com bill.king at nokia.com
Thu Jul 22 04:23:27 CEST 2010


Yes, that looks correct, if you have any issues, this is more a question for qt-interest tho, than being a qt-creator item. There's definitely a lot of good minds at qt-interest that can give you a lot of help very quickly :)

From: qt-creator-bounces at trolltech.com [mailto:qt-creator-bounces at trolltech.com] On Behalf Of ext Jothy
Sent: Wednesday, 21 July 2010 9:03 PM
To: Qt Creator
Subject: [Qt-creator] VTK with Qt creator

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/20100722/e6932683/attachment.html 


More information about the Qt-creator-old mailing list