Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.1
-
None
-
Windows 10 x64-bit
Python 3.8.10 x64-bit
PySide 6.3.1
-
-
b35a0eb98 (dev), a09f6aa2a (6.5)
Description
PySide6.QtGui.QOpenGLFunctions is missing many functions:
from OpenGL import GL from PySide6.QtGui import QOpenGLFunctions if __name__ == '__main__': glfuncs = set(dir(GL)) qglfuncs = set(dir(QOpenGLFunctions)) diff = glfuncs.symmetric_difference(qglfuncs) with open('diff.txt', 'w') as w: for item in sorted(diff): w.write(item + '\n')
Specifically, there's a disconnect between the Qt 6.3 C++ QOpenGLFunctions functions and those ported to PySide6 (I personally need glGetBooleanv):
glActiveTexture glBufferData glBufferSubData glGetActiveAttrib glGetActiveUniform glGetBooleanv glGetProgramInfoLog glGetShaderInfoLog glGetVertexAttribPointer
(see qt6_vs_pyside6_diff.txt.)
Attachments
Issue Links
- relates to
-
PYSIDE-2017 glGetFloatv Erroneous ValueError
- Closed
-
PYSIDE-2060 Cross-compiling fails for 6.4
- Closed