<div dir="ltr">Thank you Andrew for the directions. <div>Since I am not using GUI version of cmake, what I did was to go to the source directory of VTK and then I added two following lines to the CMakeLists.txt file:</div>
<div><br></div><div><div>set(VTK_QT_VERSION "5" CACHE STRING "Expected Qt version")</div><div>mark_as_advanced(VTK_QT_VERSION)</div></div><div><br></div><div>and then when I ran ccmake, I was able to configure VTK successfully, as the version of Qt is now set to 5.</div>
<div><br></div><div>FYI, the two above lines are from the link below:</div><div><br></div><div><a href="https://github.com/Kitware/VTK/blob/master/CMake/vtkQt.cmake">https://github.com/Kitware/VTK/blob/master/CMake/vtkQt.cmake</a><br>
</div><div><br></div><div><br></div><div>-S</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 3:46 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Set Grouped and Advanced in the Cmake GUI and look ook in the VTK section of the cmake-gui and you will see it about half-way down:</div>
<div><br></div><div><br></div><div><img src="cid:ii_144e13df88d34115" alt="Inline image 2" width="674" height="309"><br>
</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 21, 2014 at 3:13 AM, Sam Raby <span dir="ltr"><<a href="mailto:rabysam28@gmail.com" target="_blank">rabysam28@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Thanks Andrew. Would you let me know how I can set VTK_QT_VERSION to 5? I do not see this option in the advanced mode. <br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Mar 19, 2014 at 6:05 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br>
</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need to set VTK_QT_VERSION to 5 as VTK uses QT4 by default.<br><div class="gmail_extra">
<br></div>
<div class="gmail_extra">
Andrew</div><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
---------- Forwarded message ----------<br>From: Sam Raby <<a href="mailto:rabysam28@gmail.com" target="_blank">rabysam28@gmail.com</a>><br></div><div><div>To: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Cc: <br>Date: Tue, 18 Mar 2014 15:28:32 -0500<br>Subject: [vtkusers] Fwd: VTK compilation with QT<br><div dir="ltr">I appreciate any idea how I can fix this compilation error?<div>thanks</div><div>-S<br><br><div class="gmail_quote">
---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sam Raby</b> <span dir="ltr"><<a href="mailto:rabysam28@gmail.com" target="_blank">rabysam28@gmail.com</a>></span><br>
Date: Mon, Mar 17, 2014 at 10:06 AM<br>Subject: VTK compilation with QT<br>To: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
<br><br>
<div dir="ltr">
Hello,<div><br></div><div>I am compiling VTK with QT enabled. While I think Qt is properly installed, I am getting the following error:</div><div><br></div><div><b>/home/mycomputer/myLibs/QT/Qt5.2.0/5.2.0/gcc_64/bin/qmake reported</b></div>
<div><b> QT_INSTALL_LIBS as "/home/mycomputer/myLibs/QT/Qt5.2.0/5.2.0/gcc_64/lib"</b></div><div><b> but QtCore could not be found there. Qt is NOT installed correctly for the</b></div><div><b> target build environment. </b></div>
<div><br><div>Would you advise how I can get this fixed?</div></div><div><br></div><div>thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>-S</div></font></span></div>
</div><br></div></div>
<br><br></div></div></blockquote></div><span><font color="#888888"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</font></span></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div>
</div></div></blockquote></div><br></div>