I am trying to compile VTK 5.4 using CMake 2.8 (with GUI) but I have a problem if I select VTK_USE_GUISUPPORT and VTK_USE_QVTK. I am trying to compile with support for QT 4.6. It can never find my Qt installation but when I supply the path to qmake.exe (using windows-style back-slashes) I get an error with the following output:<br>
<br><span style="color: rgb(255, 0, 0);">CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:771 (MESSAGE):</span>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> It appears you're trying to use Visual Studio with Qt built by mingw</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> GUISupport/Qt/CMakeLists.txt:14 (INCLUDE)</span></p><br>However, I cannot successfully build using MingW (or anything else) and I'm not sure how to resolve the issue. Any suggestions would be greatly appreciated..<br>
<br>thanks,<br>Caleb<br>