<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Luis,<div><br></div><div>to compile qt 5 or superior with vtk 6, you need to set as well VTK_QT_VERSION = 5, in cmake.</div><div><br></div><div>Cheers,</div><div><br></div><div>Waldo.</div><div><br></div><div><br></div><div><br><div><div>On 22 Jul 2014, at 14:26, Luis Vieira <<a href="mailto:luis.vieira@vektore.com">luis.vieira@vektore.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container">
<div dir="ltr">
<div class="gmail_quote">Hello, We hope this email find you
well.<br>
<div dir="ltr">
<div> <br>
<div>
<div><p class="MsoNormal" style="text-align:justify"><b>We
have the follow CMake - VTK - Visual Studio 2013
Configuration:</b></p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>Visual Studio
2013 opengl +64;</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>CMake 3.0;</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>VTK-6.1.0.</p><p class="MsoNormal" style="text-align:justify"><b>CMake
configurated the following paths:</b></p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>C:\Program
Files\VTK (Debug);</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>C:\Program
Files\VTK (Release);</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>C:\VTK\build;</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>C:\VTK\Data.<br>
<span><ggdedbeb.png></span><br>
</p><p class="MsoNormal" style="text-align:justify">The
environment stated above works very well. However,
we need to provide/enable the same configuration
between<b> VTK</b> and <b>QT Enterprise Creator 5.3</b>.
We used CMake 3.0 to configure the linkage between <b>QT
5.3 and VTK - 6.1.0</b>. </p><p class="MsoNormal" style="text-align:justify">The
following variables were configured in CMake:</p><p style="text-align:justify"><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span><b>VTK_Group_Qt:BOOL=ON;</b></p><p style="text-align:justify"><b><span style="font-family:Symbol">·<span style="font-size:7pt;font-family:'Times New
Roman'"> </span></span>QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe. </b></p><p style="text-align:justify"> <br>
</p><p class="MsoNormal" style="text-align:justify"><span><eecdhiai.png></span> </p><p class="MsoNormal" style="text-align:justify"><br>
<font color="#ff0000">Despite of the above
configuration, CMake presents this error message:<br>
</font></p><p class="MsoNormal" style="text-align:justify"><font color="#ff0000">CMake Warning at
C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:616
(message):
C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe
reported QT_INSTALL_LIBS as
"C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/lib" but
QtCore could not be found there. Qt is
NOT installed correctly for the target
build environment. Call Stack (most
recent call first):
GUISupport/Qt/CMakeLists.txt:68 (find_package)
</font> </p><p class="MsoNormal" style="text-align:justify"> <font color="#ff0000">CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:621
(message): Could NOT find
QtCore. Check
C:/VTK/bin/msvc2013_64_opengl/CMakeFiles/CMakeError.log
for more details. Call Stack
(most recent call first):
GUISupport/Qt/CMakeLists.txt:68 (find_package)
</font> <br>
</p>
Could you guys please advise me on how to properly set
up the programming environment in which CMake will
build the bridge amongst the VSC++ OpenGL +64, VTK
6.1.0 and QT 5.3? What are our options to direct CMake
to recognize QT5.3? The way it is now it only
recognizes QT4.0.
<p class="MsoNormal"><br>
Thank you so much.<br>
</p>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
</div>
<br>
</div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>