Hi, ITKers,<br><br>I am trying to compile the QtImageViewer code in the directory of <br><br>  InsightApplications-3.20.0/Auxiliary/QtImageViewer <br>  <br>on the 32-bit WinXP SP3 platform with: <br><br>  CMake-2.8.4<br>  VTK-5.6.1<br>

  Qt-4.6.1  (I compile the source code downloaded from the Qt FTP on my own platform and other source code related with Qt works well)<br><br>When I cmake the source code, there are some different hints with the second line in red:<br>

<br>  WARNING: you are using the obsolete &#39;GLU&#39; package, please use &#39;OpenGL&#39; instead<br>  D:/Qt/qt-4.6.1/include<br>  Configuring done<br>  Generating done<br><br>Whatever, the solution was successfully generated. But I unfortunately got the following link errors during compiling the solution:<br>

<br>  QtGlSliceView.obj : error LNK2001: unresolved external symbol &quot;public: virtual struct QMetaObject const * __thiscall QtGlSliceView::metaObject(void)const &quot; (?metaObject@QtGlSliceView@@UBEPBUQMetaObject@@XZ)<br>

  QtGlSliceView.obj : error LNK2001: unresolved external symbol &quot;public: virtual void * __thiscall QtGlSliceView::qt_metacast(char const *)&quot; (?qt_metacast@QtGlSliceView@@UAEPAXPBD@Z)<br>  QtGlSliceView.obj : error LNK2001: unresolved external symbol &quot;public: virtual int __thiscall QtGlSliceView::qt_metacall(enum QMetaObject::Call,int,void * *)&quot; (?qt_metacall@QtGlSliceView@@UAEHW4Call@QMetaObject@@HPAPAX@Z)<br>

<br>I&#39;ve tried to search former mails discussing the kind of problems in the mailing lists[1]. It seems slight different from my problem. <br><br>Could anyone help me out? I&#39;m stucked....<br><br>Reference:<br><br>

[1] [Insight-users] ITK with QT4, <a href="http://www.itk.org/pipermail/insight-users/2008-March/025141.html">http://www.itk.org/pipermail/insight-users/2008-March/025141.html</a><br clear="all"><br>-- <br>Fan YANG<br>Institute of Automation<br>

Chinese Academy of Sciences<br>No.95 Zhongguancun East Road<br>Haidian District<br>Beijing Municipality<br>PR China<br>100190<br>