ResInsight
ResInsight copied to clipboard
Qt warning about incompatibility with GLEW
[1022/2965] Building CXX object Fwk/AppFwk/cafViewer/CMakeFiles/cafViewer.dir/cafViewer.cpp.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QOpenGLContext:1,
from /home/resinsight/projects/ResInsight/Fwk/AppFwk/cafViewer/cafViewer.cpp:75:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglcontext.h:55:2: warning: #warning qopenglfunctions.h is not compatible with GLEW, GLEW defines will be undefined [-Wcpp]
55 | #warning qopenglfunctions.h is not compatible with GLEW, GLEW defines will be undefined
| ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglcontext.h:56:2: warning: #warning To use GLEW with Qt, do not include <qopengl.h> or <QOpenGLFunctions> after glew.h [-Wcpp]
56 | #warning To use GLEW with Qt, do not include <qopengl.h> or <QOpenGLFunctions> after glew.h
| ^~~~~~~