title: Undefine Symbols vtkImageViewer2::New(), QT-VTK Mac OSX 10.6.8
body: <p>I'm using VTK to read a DICOM series. I can compile (using CMake) VTK example code and it runs well. Now, I'm trying to use Qtcreator and Qt4.8.5 to create a GUI. I have linked the library and include path on project.pro.</p>
  
  <p>When I build, I get:</p>
  
  <pre><code>Undefined symbols:
    "vtkImageViewer2::New()", referenced from:
       vtkSmartPointer&lt;vtkImageViewer2&gt;::New()        in mainwindow.o
  ld: symbol(s) not found
  </code></pre>
  
  <p>I checked, the Include path, and it includes /usr/local/vtk-6.1/include/vtk-6.1/
  which contains vtkImageViewer2.h.</p>
  
  <p>What's wrong with my project?</p>