Lab: APIENTRY undefined (Qt 6.9.1) (#8980)

## Summary of Changes

Behavior of QOpenGL.h changed, with 6.9.1 it does not provide APIENTRY
from windows.h anymore, but QT_APIENTRY instead

added redefinition of APIENTRY in qglviewer.h based on QT_APIENTRY

## Release Management

* Affected package(s): Lab, GraphicsView
This commit is contained in:
Sebastien Loriot 2025-07-31 15:09:00 +02:00 committed by GitHub
commit 1c1cf48bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@
#include <QMouseEvent>
#include <QKeyCombination>
#ifndef APIENTRY
#define APIENTRY QT_APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
class QTabWidget;
class QImage;
class QOpenGLFramebufferObject;