ResInsight icon indicating copy to clipboard operation
ResInsight copied to clipboard

Qt warning about incompatibility with GLEW

Open kriben opened this issue 1 year ago • 0 comments

[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
      |  ^~~~~~~

kriben avatar Apr 16 '24 06:04 kriben