<div dir="ltr">Hi Andrew, <div><br></div><div style>Qt5 support for VTK 6 has just been integrated. Could you confirm that you configured VTK as detailed in the commit message ? </div><div style>See <a href="https://github.com/Kitware/VTK/commit/384636ec9f442db83c8b827d7eabc7ada9ef8d35">https://github.com/Kitware/VTK/commit/384636ec9f442db83c8b827d7eabc7ada9ef8d35</a></div>

<div style><br></div><div style>Hth</div><div style>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 9, 2013 at 1:30 AM, 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"><div>Just letting you know there is a problem with the QT5 and VTK combination in windows.</div><div><br>

</div><div>System: Windows 8</div>Compiler VS Express 2012 64-bit.<div>QT Version: 5.0.2<br clear="all">
<div>QTDIR=C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\mkspecs</div><div>PATH contains: C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\bin</div><div><br></div><div>When configuring VTK on an empty build directory, CMake is unable to find mkspecs. Consequently it cannot find qtcore.lib.</div>


<div><br></div><div>So I manually select VTK_QT=5, specify qtcore.lib (debug/release) and then generate fails with:</div><div><p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at GUISupport/Qt/Testing/Cxx/CMakeLists.txt:21 (set_target_properties):</span></p>



<p style="margin:0px"><span style="color:rgb(255,0,0)">  set_target_properties called with incorrect number of arguments.</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)"><br></span></p></div><div><br>
</div><div>Build fails with:</div><div><div>Error<span style="white-space:pre-wrap">      </span>141<span style="white-space:pre-wrap">     </span>error C2371: 'GLdouble' : redefinition; different basic types<span style="white-space:pre-wrap">   </span>C:\Program Files (x86)\Windows Kits\8.0\Include\um\GL\gl.h<span style="white-space:pre-wrap">      </span>60<span style="white-space:pre-wrap">      </span>1<span style="white-space:pre-wrap">       </span>vtkGUISupportQtOpenGL</div>


<div><br></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>   Andrew</div></font></span></div><span class="HOEnZb"><font color="#888888">-- <br>___________________________________________<br>

Andrew J. P. Maclean<br><br>___________________________________________
</font></span></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>