<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Thanks for your help!</p>
<p>Doing both these things + setting QT5_DIR to <span>C:\Qt\Qt5.7.0\5.7\msvc2015_64\lib\cmake\Qt5 did the trick. <img class="EmojiInsert" id="OWAEmoji134196" alt="😊" style="vertical-align: bottom;" src="cid:bfce32cd-dafa-4a47-8238-6a1ac993263b"></span></p>
<p><span><br>
</span></p>
<p><span>Libby</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Leonid Dulman <leonid_dulman@yahoo.co.uk><br>
<b>Sent:</b> Saturday, September 3, 2016 4:49:46 AM<br>
<b>To:</b> Libby McCord; vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Problem building VTK with QT 5.7 windows x64</font>
<div> </div>
</div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px">
<div id="yui_3_16_0_ym19_1_1472903046230_6717"><span>Try to do next in CmakeLists.txt</span></div>
<div id="yui_3_16_0_ym19_1_1472903046230_6802"><br>
<span></span></div>
<div id="yui_3_16_0_ym19_1_1472903046230_6803" dir="ltr"><span># Qt5 need to add <br id="yui_3_16_0_ym19_1_1472903046230_6784">
set(CMAKE_PREFIX_PATH $ENV{HOME}"E:/Qt/5.6")<br id="yui_3_16_0_ym19_1_1472903046230_6785">
<br id="yui_3_16_0_ym19_1_1472903046230_6786">
project(VTK) <br>
</span></div>
<div dir="ltr"><span>Leonid</span></div>
<div id="yui_3_16_0_ym19_1_1472903046230_6703" class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;" id="yui_3_16_0_ym19_1_1472903046230_6707" class="yahoo_quoted">
<div id="yui_3_16_0_ym19_1_1472903046230_6706" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 8px;">
<div id="yui_3_16_0_ym19_1_1472903046230_6705" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
<div id="yui_3_16_0_ym19_1_1472903046230_6704" dir="ltr"><font id="yui_3_16_0_ym19_1_1472903046230_6708" size="2" face="Arial">
<hr size="1">
<b id="yui_3_16_0_ym19_1_1472903046230_6739"><span id="yui_3_16_0_ym19_1_1472903046230_6738" style="font-weight:bold;">From:</span></b> Libby McCord <libby.mccord@ceptontech.com><br>
<b><span style="font-weight: bold;">To:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org>
<br>
<b id="yui_3_16_0_ym19_1_1472903046230_6805"><span id="yui_3_16_0_ym19_1_1472903046230_6804" style="font-weight: bold;">Sent:</span></b> Saturday, September 3, 2016 3:25 AM<br>
<b id="yui_3_16_0_ym19_1_1472903046230_6807"><span id="yui_3_16_0_ym19_1_1472903046230_6806" style="font-weight: bold;">Subject:</span></b> [vtkusers] Problem building VTK with QT 5.7 windows x64<br>
</font></div>
<div id="yui_3_16_0_ym19_1_1472903046230_6709" class="y_msg_container"><br>
<div id="yiv0223399708"><style type="text/css"><!--#yiv0223399708 P {margin-top:0;margin-bottom:0;}--></style>
<div id="yui_3_16_0_ym19_1_1472903046230_6711" dir="ltr">
<div id="yiv0223399708divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri, Arial, Helvetica, sans-serif;">
<div id="yui_3_16_0_ym19_1_1472903046230_6710">I have recently downloaded vtk 7.0. I'm a newbie, and my ultimate goal is to be able to use QT with the Point Cloud Visualizer. (Point Cloud 1.8)</div>
<div><br>
</div>
<div>I'm on a windows 64 bit 10.0 system and will be building on msvc 2015, but haven't made it to the compilation step yet. I have installed QT 5.7 from the online installer from QT.</div>
<div><br>
</div>
<div>During step 4 of <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK/Building/Windows" class="yiv0223399708OWAAutoLink" id="yiv0223399708LPlnk885472">http://www.vtk.org/Wiki/VTK/Building/Windows</a>, I get the following error during configure:
Does this mean I need to installed QT 4 instead???</div>
<div><br>
</div>
<div><span style="color:#ff0000;">CMake Error at C:/Program Files/CMake/share/cmake-3.6/Modules/FindQt4.cmake:1328 (message):<br>
Found unsuitable Qt version "5.7.0" from<br>
C:/Qt/5.7/msvc2015_64/bin/qmake.exe, this code requires Qt 4.x<br>
Call Stack (most recent call first):<br>
GUISupport/Qt/CMakeLists.txt:71 (find_package)</span><br>
</div>
<div><br>
</div>
<div id="yiv0223399708LPBorder_GT_14728620680660.9253209188922433" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px;">
<table class="yahoo-compose-table-card" id="yiv0223399708LPContainer_14728620680580.912281234484527" style="width:90%;position:relative;overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200, 200, 200);border-bottom:1px dotted rgb(200, 200, 200);background-color:rgb(255, 255, 255);" cellspacing="0">
<tbody>
<tr style="border-spacing:0px;" valign="top">
<td id="yiv0223399708TextCell_14728620680610.8025437233272963" colspan="2" style="vertical-align:top;position:relative;padding:0px;display:table-cell;">
<div id="yiv0223399708LPRemovePreviewContainer_14728620680620.7817315573690569"></div>
<div id="yiv0223399708LPTitle_14728620680620.8257916675397599" style="color:rgb(0, 120, 215);font-weight:normal;font-size:21px;line-height:21px;">
<a rel="nofollow" id="yiv0223399708LPUrlAnchor_14728620680630.5728304913523272" target="_blank" href="http://www.vtk.org/Wiki/VTK/Building/Windows" style="text-decoration:none;">VTK/Building/Windows - KitwarePublic</a></div>
<div id="yiv0223399708LPMetadata_14728620680630.6638759763431699" style="margin:10px 0px 16px;color:rgb(102, 102, 102);font-weight:normal;font-size:14px;line-height:14px;">
www.vtk.org</div>
<div id="yiv0223399708LPDescription_14728620680640.10970318252623357" style="display:block;color:rgb(102, 102, 102);font-weight:normal;font-size:14px;line-height:20px;max-height:100px;overflow:hidden;">
Building VTK on Windows using Visual Studio (from a zip/tar file) Note: VTK uses the standard approach for building CMake based projects on Windows.</div>
</td>
</tr>
</tbody>
</table>
</div>
Can someone help???
<div><br>
</div>
<div>Thanks!</div>
<div>Libby</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>