diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-28 08:22:08 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-31 13:08:30 +0100 |
| commit | 3bbf20cb0f2cb30975e47eb826c71777871baac2 (patch) | |
| tree | 6ee35431a2cace1f8722326929e0a6cd894f5345 /sources/pyside6/PySide6/QtOpenGL | |
| parent | 521bfd26ec9b5f1a6126ffb2a47b8e0f380244f1 (diff) | |
Typesystem: Add includes required to be able to forward-declare classes in the module header
Pick-to: 6.4
Task-number: PYSIDE-2099
Change-Id: I4607a6a224f194edadf25a9aa2d27b3eca0dede2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/PySide6/QtOpenGL')
| -rw-r--r-- | sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml b/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml index 12dc36a69..20de3d2e4 100644 --- a/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml +++ b/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml @@ -581,6 +581,35 @@ </object-type> <object-type name="QOpenGLVersionFunctionsFactory"> + <extra-includes> + <include file-name="QtOpenGL/qopenglfunctions_1_0.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_1_1.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_1_2.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_1_3.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_1_4.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_1_5.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_2_0.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_2_1.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_0.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_1.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_2_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_2_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_3_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_3_3_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_0_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_0_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_1_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_1_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_2_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_2_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_3_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_3_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_4_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_4_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_5_compatibility.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_4_5_core.h" location="global"/> + <include file-name="QtOpenGL/qopenglfunctions_es2.h" location="global"/> + </extra-includes> <modify-function signature="get(const QOpenGLVersionProfile &,QOpenGLContext *)"> <inject-code class="target" position="beginning" file="../glue/qtopengl.cpp" snippet="qopenglversionfunctionsfactory-get"/> |
