<div dir="ltr"><div>Ok, I saw the "Advanced" checkbox in Cmake-gui, and checking it I got the VTK_QT_VERSION I was looking for.<br><br></div><div>And then, setting it to 5 resolved the problem.<br></div><div><br></div>Thank you again<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-20 22:01 GMT+02:00 Marcos <span dir="ltr"><<a href="mailto:fotosentido@gmail.com" target="_blank">fotosentido@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>The thing is I don't see the VTK_QT_VERSION option in Cmake (I remember seeing it in older VTK versions).<br><br></div>It fills the QT_QMAKE_EXECUTABLE by itself.<br><br></div>I tried inserting manually the variables<br>VTK_QT_VERSION<br></div>QT_DIR<br><br></div>and also setting environment variables.<br></div><div><br></div>But it insists on looking for a Qt4 version:<span class=""><br><span style="color:rgb(255,0,0)">C:/Qt/5.4/msvc2013_opengl/bin/qmake.exe, this code requires Qt 4.x<br></span><br></span><div>If I uncheck VTK_Group_Qt, everything is alright, of course.<br></div>But I need the QT widget.<br><br></div><div>Thanks for your time.<br></div><span style="color:rgb(255,0,0)"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-20 21:02 GMT+02:00 Drak <span dir="ltr"><<a href="mailto:draktharrblorf@gmail.com" target="_blank">draktharrblorf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">see this:<br>
<a href="http://stackoverflow.com/questions/30892773/building-vtk-with-qt5-windows-8/30894401#30894401" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/30892773/building-vtk-with-qt5-windows-8/30894401#30894401</a><span class=""><br>
<br>
change VK_QT_VERSION to 5 in your cmake<br>
<br>
<br>
<br>
--<br></span>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Configuring-VTK-with-Qt5-tp5732998p5732999.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Configuring-VTK-with-Qt5-tp5732998p5732999.html</a><span class=""><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br></span>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><span class=""><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</span><a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div>