<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thank you so much. I gotta with Qt 5.3 toggling "Advanced" and
"Group" checking VTK_QT_VERSION to "5" and change <span
class="repo-root js-repo-root" style="box-sizing: border-box;
font-weight: bold; color: rgb(153, 153, 153); font-family:
Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji',
'Segoe UI Symbol'; font-size: 18px; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height:
25.200000762939453px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><span itemscope=""
itemtype="http://data-vocabulary.org/Breadcrumb"
style="box-sizing: border-box;"><a
href="https://github.com/Kitware/VTK" data-branch="master"
data-direction="back" data-pjax="true" itemscope="url"
style="box-sizing: border-box; color: rgb(65, 131, 196);
text-decoration: none; background: transparent;"><span
itemprop="title" style="box-sizing: border-box;">VTK</span></a></span></span><span
class="separator" style="box-sizing: border-box; color: rgb(153,
153, 153); font-family: Helvetica, arial, freesans, clean,
sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 18px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 25.200000762939453px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><span
class="Apple-converted-space"> </span>/<span
class="Apple-converted-space"> </span></span><span itemscope=""
itemtype="http://data-vocabulary.org/Breadcrumb"
style="box-sizing: border-box; color: rgb(153, 153, 153);
font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe
UI Emoji', 'Segoe UI Symbol'; font-size: 18px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 25.200000762939453px; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><a href="https://github.com/Kitware/VTK/tree/master/CMake"
data-branch="master" data-direction="back" data-pjax="true"
itemscope="url" style="box-sizing: border-box; color: rgb(65,
131, 196); text-decoration: none; background: transparent;"><span
itemprop="title" style="box-sizing: border-box;">CMake</span></a></span><span
class="separator" style="box-sizing: border-box; color: rgb(153,
153, 153); font-family: Helvetica, arial, freesans, clean,
sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 18px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 25.200000762939453px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><span
class="Apple-converted-space"> </span>/<span
class="Apple-converted-space"> </span></span><strong
class="final-path" style="box-sizing: border-box; font-weight:
bold; color: rgb(0, 0, 0); font-family: Helvetica, arial,
freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
font-size: 18px; font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: 25.200000762939453px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">vtkQt.cmake with<br>
<br>
</strong><br>
<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="line" id="LC1" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">set</span><span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VTK_QT_VERSION</span> <span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"<big><big><big><big><big><b>5</b></big></big></big></big></big>"</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">
CACHE</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">STRING</span> <span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"Expected Qt version"</span><span class="p" style="box-sizing: border-box;">)</span></div><div class="line" id="LC2" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">mark_as_advanced</span><span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VTK_QT_VERSION</span><span class="p" style="box-sizing: border-box;">)</span></div><div class="line" id="LC3" style="box-sizing: border-box; padding-left: 10px; height: 18px;">
</div><div class="line" id="LC4" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">set_property</span><span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">CACHE</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VTK_QT_VERSION</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">PROPERTY</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">STRINGS</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">4</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">5</span><span class="p" style="box-sizing: border-box;">)</span></div><div class="line" id="LC5" style="box-sizing: border-box; padding-left: 10px; height: 18px;">
</div><div class="line" id="LC6" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">if</span><span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">NOT</span> <span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VTK_QT_VERSION</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VERSION_EQUAL</span> <span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"4"</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">OR</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VTK_QT_VERSION</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">VERSION_EQUAL</span> <span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);"
>"5"</span><span class="p" style="box-sizing: border-box;">))</span></div><div class="line" id="LC7" style="box-sizing: border-box; padding-left: 10px; height: 18px;"> <span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">message</span><span class="p" style="box-sizing: border-box;">(</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">FATAL_ERROR</span> <span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"Expected value for VTK_QT_VERSION is either '4' or '5'"</span><span class="p" style="box-sizing: border-box;">)</span></div><div class="line" id="LC8" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">endif</span><span class="p" style="box-sizing: border-box;">()</span></div></pre>
<strong class="final-path" style="box-sizing: border-box;
font-weight: bold; color: rgb(0, 0, 0); font-family: Helvetica,
arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI
Symbol'; font-size: 18px; font-style: normal; font-variant:
normal; letter-spacing: normal; line-height: 25.200000762939453px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><br>
</strong>
<div class="moz-cite-prefix">On 7/29/14 5:56 PM, Kim Rosenbohm
wrote:<br>
</div>
<blockquote cite="mid:53D818A7.5050508@posteo.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi Luis.<br>
<br>
Try toggling "Advanced" in the CMake GUI. There is a Qt4/Qt5
switch hidden there somewhere...<br>
I have successfuly compiled VTK 6.1.0 with Qt 5.2.1, so 5.3 should
work, but I have never tried it with CMake 3...<br>
<br>
Best Regards,<br>
<br>
Kim<br>
<br>
<div class="moz-cite-prefix">Am 29.07.2014 19:28, schrieb Luis
Vieira:<br>
</div>
<blockquote cite="mid:53D7D9D9.1050909@vektore.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<div class="moz-forward-container">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi. I am beginner with Qt and VTK. Then, I will let you how I
have doing. I have been working with Qt 5.3.1 and VS2013
perfectly. Last week I tried to set up VTK 6.1 with VS2013
through CMake 3.0 and works perfectly. As well you could see
below. Now, I am try to enable VTK with Qt 5.3.1 through
CMake. However, whatever I do to set VT_QT options my CMake
only found Qt4 through this file <span style="
color:#ff0000;">FindQt4.cmake <font color="#000000">in my
C:\Program Files (x86)\CMake\share\cmake-3.0\Modules. I am
pretty sure that it's the problem.</font></span><br>
<br>
<br>
<br>
<b>CMAKE_INSTALL_PREFIX : C:/Program Files/VTK/buildQt</b><b><br>
</b><b> CMAKE_PREFIX_PATH:
C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin</b><span
style="font-family:Symbol"><br>
<span style="font-size:7pt;font-family:'Times New Roman'"></span></span><b>VTK_Group_Qt:BOOL=ON;</b><b><span
style="font-family:Symbol"><br>
<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.
<br>
</b><br>
<br>
<img src="cid:part3.05090800.04070805@vektore.com" alt=""
height="430" width="659"><br>
<br>
<img src="cid:part4.09000505.07080406@vektore.com" alt=""><br>
<br>
Where I could change that?<br>
"The first thing that have the first time that compile vtk
with qt module is that I have to change the flag to qt 5 and
erase the flags of qt 4, and then I configure again, and is
ready."<br>
<div class="moz-cite-prefix"><br>
Thank you.<br>
</div>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>