Dear Brad,<br><br>I am not sure what compiler was used to build Qt. Because it is a binary installation downloaded from the Qt official website. Do you mean I have to download the Qt source and build it with MSVC?<br><br>I also found a solution for to change the Qt libraries extension. That is to modify the linking arguments from the &quot;Build\GUISupport\Qt\CMakeFiles\QVTK.dir\build.make&quot;. After I did that, the linking problem was solved. However, another problem came up as follow, 
<br><br>QVTKWidget.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: int __thiscall QWheelEvent::x(void)const &quot; (__imp_?x@QWheelEvent@@QBEH.................<br><br>Similar errors like the above about 
QVTKWidget.obj were kept coming up, then compilation stop again. Any idea? <br><br>Thank you very much indeed.<br><br>Kind Regards,<br>Haifeng Zhao<br><br><br><div><span class="gmail_quote">On 05/06/06, <b class="gmail_sendername">
Brad King</b> &lt;<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Haifeng Zhao wrote:<br>&gt; I am trying to compile VTK5.0 with Qt GUI Support in Windows 2000 that<br>&gt; has Qt Open-Sourced 4.1.2 and CMake 2.4.2 installed.<br>&gt;<br>&gt; After QVTK is enabled in CMake, configuring it will prompt a message of
<br>&gt; &quot;QtCore/QtGUI library is not found&quot;. This was because CMake did not find<br>&gt; Qt libraries with prefix &quot;lib&quot; and suffix &quot;.a&quot;.<br><br>What compiler was used to build Qt?&nbsp;&nbsp;AFAIK, if it was not MSVC then the
<br>libraries will not work with MSVC.&nbsp;&nbsp;If it was MSVC then they would have<br>a .lib extension instead of a .a extension.<br><br>-Brad<br></blockquote></div>