You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from Qt6.0, classes QOpenGLXXXX (such as QOpenGLBuffer) have been migrated to the QtOpenGL module.
Therefore, the <object type name="QOpenGLBuffer"/>
in typesystem_gui.xml should be changed to <object type name="QOpenGLBuffer" before-version="6"/>,
and then <object type name="QOpenGLBuffer" since-version="6"/>
should be added to typesystem_opengl.xml. Other QOpenGLXXXXs should also be treated similarly,
while the original QGLBuffer in typesystem_opengl.xml should be changed to <object type name="QGLBuffer Before-version=" 6 "/>
int PythonQt_QtAll.pro
lessThan(QT_MAJOR_VERSION, 6) {
# module is empty in Qt6
qtHaveModule(opengl):CONFIG += PythonQtOpengl
}
Activity
mrbean-bremen commentedon Dec 2, 2024
Thanks! Looks like you have already figured this out - do you want to make a PR?
wangdaye078 commentedon Dec 2, 2024
I'm not very good at using GIT, I'm afraid of making mistakes
mrbean-bremen commentedon Dec 2, 2024
Well, if you want to try - you can't break anything, and we can certainly help you!
wangdaye078 commentedon Dec 2, 2024
i had make a PR