<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1463468269020_2808">Hi,<br id="yui_3_16_0_ym19_1_1463468269020_2857"><br id="yui_3_16_0_ym19_1_1463468269020_2858">I’m trying to generate a VTK7 build for Visual Studio 2015 64bit
using the <br id="yui_3_16_0_ym19_1_1463468269020_2859">latest version of CMake. I am following the instructions on <br id="yui_3_16_0_ym19_1_1463468269020_2860"><a id="yui_3_16_0_ym19_1_1463468269020_2861" href="http://www.vtk.org/Wiki/VTK/Configure_and_Build">http://www.vtk.org/Wiki/VTK/Configure_and_Build</a>
.<br id="yui_3_16_0_ym19_1_1463468269020_2862"><br id="yui_3_16_0_ym19_1_1463468269020_2863">I can generate using the default options. However I need VTK to work
with Qt <br id="yui_3_16_0_ym19_1_1463468269020_2864">5.6 . So I have checked VTK_Group_Qt and added the entry
CMAKE_PREFIX_PATH <br id="yui_3_16_0_ym19_1_1463468269020_2865">and set it to C:/Qt/5.6/msvc2015_64<br id="yui_3_16_0_ym19_1_1463468269020_2866"><br id="yui_3_16_0_ym19_1_1463468269020_2867">When I click
generate, I get an error:<br id="yui_3_16_0_ym19_1_1463468269020_2868"><br id="yui_3_16_0_ym19_1_1463468269020_2869">CMake Error at C:/Program Files
<br id="yui_3_16_0_ym19_1_1463468269020_2870">(x86)/CMake/share/cmake-3.5/Modules/FindQt4.cmake:1326 (message):<br id="yui_3_16_0_ym19_1_1463468269020_2871">Found
unsuitable Qt version "5.6.0" from<br id="yui_3_16_0_ym19_1_1463468269020_2872">C:/Qt/5.6/msvc2015_64/bin/qmake.exe, this
code requires Qt 4.x<br id="yui_3_16_0_ym19_1_1463468269020_2873">Call Stack (most recent call
first):<br id="yui_3_16_0_ym19_1_1463468269020_2874">GUISupport/Qt/CMakeLists.txt:71 (find_package)<br id="yui_3_16_0_ym19_1_1463468269020_2875"><br id="yui_3_16_0_ym19_1_1463468269020_2876">What am I doing
wrong? Thanks.<br id="yui_3_16_0_ym19_1_1463468269020_2877"><br id="yui_3_16_0_ym19_1_1463468269020_2878">Kind regards,<br id="yui_3_16_0_ym19_1_1463468269020_2879"><br id="yui_3_16_0_ym19_1_1463468269020_2880">Nick</div></div></body></html>