I am trying to get VTK 6.1 to work with Qt5.2.1 in msvc2012 on my Windows 8.1 32-bit notebook with the qt add-in. I'm a noob when it comes to vtk and qt, so don't be too hard on me please :)<br>
I have generated the VTK solution and ALL_BUILD for visual studio to build from cmake-gui, but I'm having some trouble getting the build in vs2012 without errors, so the INSTALL won't build either I suppose.
<br><br>
The picture below shows the error I keep getting:
<img src="http://vtk.1045678.n5.nabble.com/file/n5726131/error_prnt_screen.jpg" border="0" width="1080" height="540"/>
<br>
<br>
The error in text:
<b>error C2371: 'GLdouble' : redefinition; different basic types in file gl.h line 60 column 1 Project vktGUISupportQtOpenGL</b>

<br> <br>
I have made sure windows 8.1 kits SDK is up to date, so I don't think I'm missing anything significant.
In the cmake configuration i selected everything that has to do with Qt, I don't really know if that's correct. <br>Am I missing something? Something fundamentally wrong?
<br><br>
Btw, I'm doing this because I'm writing an application that visualises a stress tensor with a critical plane - which I find from a history of stresses after some calculation (coded in cpp), I want to use Qt for the GUI part and VTK for the visualization  and combine it all to a working application. 
<br><br>
Any thoughts, ideas?
<br><br>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK6-1-Qt5-2-1-msvc2012-Build-error-tp5726131.html">VTK6.1 + Qt5.2.1 + msvc2012 Build error</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>