<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I found a few months old <a href="http://vtk.1045678.n5.nabble.com/VTK6-1-Qt5-2-1-msvc2012-Build-error-td5726131.html#a5726139">thread</a> in which the solution to my problem was given by Kevin Funk:</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">You have to build Qt5 with the OpenGL backend and disable the ANGLE backend</span><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 9:34 AM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@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 class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">When I try to compile VTK 6.1 with Qt 5.3.0 on Win7+VS2013, I get the errors below. Can someone shed some light on this?</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div class="gmail_default">4>------ Build started: Project: vtkGUISupportQtOpenGL, Configuration: Debug x64 ------</div><div class="gmail_default">
4> QVTKGraphicsItem.cxx</div><div class="gmail_default">4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(60): error C2371: 'GLdouble' : redefinition; different basic types</div><div class="gmail_default">
4> d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(98) : see declaration of 'GLdouble'</div><div class="gmail_default">4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(206): warning C4005: 'GL_DOUBLE' : macro redefinition</div>
<div class="gmail_default">4> d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(95) : see previous definition of 'GL_DOUBLE'</div><div class="gmail_default">4> QVTKWidget2.cxx</div>
<div class="gmail_default">4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(60): error C2371: 'GLdouble' : redefinition; different basic types</div><div class="gmail_default">4> d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(98) : see declaration of 'GLdouble'</div>
<div class="gmail_default">4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(206): warning C4005: 'GL_DOUBLE' : macro redefinition</div><div class="gmail_default">4> d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(95) : see previous definition of 'GL_DOUBLE'</div>
</div></div>
</blockquote></div><br></div>