PDA

View Full Version : How to build vtk for QtSDK on Windows



npascual
30th March 2012, 09:59
Hello, could somebody help me building vtk libraries to use with Qt? I want to create it to use with QtSDK for Windows. I have followed this tutorial (http://www.vtk.org/Wiki/VTK/Tutorials/QtSetup), but I don't understand it.

At first, from here (http://www.vtk.org/VTK/resources/software.html#latest2), I have installed "Windows Tcl-Tk Interface (Installer)" and downloaded the "Source files".

Using CMake 2.8, I tried to:

Configure CMake using the generator "MinGW Makefiles" as default native compiler.
Generate build files, checking

VTK_USE_GUISUPPORT
BUILD_SHARED_LIBS
VTK_USE_QT



a VTK-build directory is created. What I have to do after this? I tried to run "mingw32-make install" in the build directory, but in the "/bin" directory doesn't appear QVTKWidgetPlugin.lib and QVTKWidgetPlugin.dll.


Thanks