<div>I get the following link problem compiling vtk 5.10 with QT support. I configured the project with cmake and I am using VS 2010.</div><div><br></div><div><div>Error<span class="Apple-tab-span" style="white-space:pre">        </span>1<span class="Apple-tab-span" style="white-space:pre">        </span>error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: class QImage &amp; __thiscall QImage::operator=(class QImage &amp;&amp;)&quot; (__imp_??4QImage@@QAEAAV0@$$QAV0@@Z) referenced in function &quot;public: virtual void __thiscall vtkQtLabelRenderStrategy::RenderLabel(int * const,class vtkTextProperty *,class vtkUnicodeString)&quot; (?RenderLabel@vtkQtLabelRenderStrategy@@UAEXQAHPAVvtkTextProperty@@VvtkUnicodeString@@@Z)<span class="Apple-tab-span" style="white-space:pre">        </span>D:\Libraries\VTK\vtk-5.10.0\Build\msvc10\Examples\Infovis\Cxx\vtkRendering.lib(vtkQtLabelRenderStrategy.obj)<span class="Apple-tab-span" style="white-space:pre">        </span>HelloWorld</div>
</div><div><br></div><div>I got similar problem with GeovisCxxTests. I changed linking order and it solved it.</div><div><br></div><div>Any ideas?</div><div><br></div>