hello.
I'm using an opengl header (gl.h) that is used in Opencl and other library, under windows 7 and i find in my win system, all works fine.
The problem is that when i add the #include <QtOpenGL\qglwidget> i get these warnings(i get 50 warnings but i show only 2):
1>C:\Open\trunk\externalIncludes\gl.h(506): warning C4005: 'GL_FOG_COORD_SRC' : macro redefinition
1> C:\Qt\5.1.0\msvc2012_64_opengl\include\QtGui/qopenglext.h(361) : see previous definition of 'GL_FOG_COORD_SRC'
1>C:\Open\trunk\externalIncludes\gl.h(507): warning C4005: 'GL_FOG_COORD' : macro redefinition.
I saw the code and qglwidget add another opengl header , probably this is the problem
There is a method for cancel these warnings?
I must use another qt opengl header in all my project?
What's qt opengl header i should use?
thanks.
Bookmarks