From f40a223d2a6755801c2ef77e8039140e8a84423c Mon Sep 17 00:00:00 2001 From: Sven Oesau Date: Fri, 11 Jul 2025 16:41:40 +0200 Subject: [PATCH] behavior of QOpenGL.h changed, with 6.9.1 it does not provide APIENTRY from windows.h anymore, but QT_APIENTRY instead --- GraphicsView/include/CGAL/Qt/qglviewer.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/GraphicsView/include/CGAL/Qt/qglviewer.h b/GraphicsView/include/CGAL/Qt/qglviewer.h index e24a5fcd6d7..673e9450980 100644 --- a/GraphicsView/include/CGAL/Qt/qglviewer.h +++ b/GraphicsView/include/CGAL/Qt/qglviewer.h @@ -34,6 +34,13 @@ #include #include +#ifndef APIENTRY +#define APIENTRY QT_APIENTRY +#endif +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif + class QTabWidget; class QImage; class QOpenGLFramebufferObject;