Skip to content

Commit 3ca00bf

Browse files
mrbean-bremenjcfr
authored andcommitted
[Backport generator] Add QtOpenGLWidgets to masterinclude
- add missing modules for qt6 in CI (cherry picked from commit MeVisLab/pythonqt@c7a13c6)
1 parent 5b4a6a9 commit 3ca00bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

generator/qtscript_masterinclude.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@
127127
#include <QtQuickWidgets/QtQuickWidgets>
128128
#endif
129129

130+
#if QT_VERSION < 0x060000
130131
#ifndef QT_NO_XMLPATTERNS
131132
# include <QtXmlPatterns/QtXmlPatterns>
132133
#endif
134+
#endif
133135

134136
#ifndef QT_NO_WEBKIT
135137
# include <QtWebKit/QtWebKit>
@@ -1232,4 +1234,8 @@
12321234
#define GL_LOGIC_OP GL_INDEX_LOGIC_OP
12331235
#define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
12341236
#include <QtOpenGL/QtOpenGL>
1237+
#if QT_VERSION >= 0x060000
1238+
#include <QtOpenGLWidgets/QtOpenGLWidgets>
1239+
#endif
1240+
12351241
#endif // QT_NO_OPENGL

0 commit comments

Comments
 (0)