<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><font size="2" face="Verdana,Arial,Helvetica">Hi all,<br> <br>I'm new to CMake, Qt and Vtk. I
try to use QVTK. I have a linking problem and after searching for a
solution over the vtk forum, I figured out that the solution is to
Enable to variables (VTK_USE_GUISUPPORT and VTK_USE_QVTK). Fine, I did
this via the CMake GUI but the error still exists. I have checked the "VTKConfig.cmake" file in the build directory, the
two variables </font><font size="2" face="Verdana,Arial,Helvetica">(VTK_USE_GUISUPPORT and VTK_USE_QVTK) </font><font size="2" face="Verdana,Arial,Helvetica">are set to "OFF" and "" respectively. Well, I tried to manually change their
values in the "vtk5_VTKConfig.cmake.in" file in the source directory.
Then, the ""VTKConfig.cmake" file has now the right configuration, but
another problem arises that CMake can't find Vtk5 using the command
(FIND_PACKAGE). Really, I became frustrated about that problem, can
anybody help?<br><br><br>Thank you,<br><br>Ahmed<br><br>P.S. </font><font size="2" face="Verdana,Arial,Helvetica">I can use VTK and QT without problems. The problem appears when I try to use QVTK. In addition, below is the list of my working environment:</font><br><font size="2" face="Verdana,Arial,Helvetica">CMake version: 2.6.2<br>VTK version: 5<br>QT version: 4<br>OS: Windows XP SP3<br>Compiler: MS VS 2008 (Ver. 9)<br></font></div></div><br>



      </body></html>