diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-17 09:54:44 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-17 12:24:29 +0200 |
| commit | efd7f86bc13bac6de6fe0c2627a271f3ee6d480a (patch) | |
| tree | bbead32b63e84c15e41143c5935ff87bee71e2db /sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | |
| parent | 01a6093024e0d2e9863fda182907a491684bc4c8 (diff) | |
Fix build with OpenGLES
Add the GLES headers to the system headers so that the integer
typedefs are seen, which is required after
f92cd6b5ac0dc3f97d9693443e6ac5cf966b87ec,
50d0c3c94ff66c104de269f09c08109eb9d0eb3a.
Fixes: PYSIDE-2084
Pick-to: 6.4 6.2
Change-Id: I6036d042765b959e0f8d7258d5d5ba322351f8ec
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp index 78874577e..512f1a879 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp @@ -807,6 +807,10 @@ bool BuilderPrivate::visitHeader(const QString &fileName) const // Resolve OpenGL typedefs although the header is considered a system header. const QString baseName = clang::baseName(fileName); if (baseName == u"gl.h" + || baseName == u"gl2.h" + || baseName == u"gl3.h" + || baseName == u"gl31.h" + || baseName == u"gl32.h" || baseName == u"stdint.h" // Windows: int32_t, uint32_t || baseName == u"stddef.h") { // size_t return true; |
