diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:11:52 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:12:04 +0000 |
| commit | 25180730194bec25f915f32ab846ea583fb1493f (patch) | |
| tree | 9a73e0336ecf21e085d99d6a651c5547b9eb99f8 /examples/opengl/hellogl2.py | |
| parent | 6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (diff) | |
Rename PySide2 to PySide6
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/opengl/hellogl2.py')
| -rw-r--r-- | examples/opengl/hellogl2.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/opengl/hellogl2.py b/examples/opengl/hellogl2.py index fd5d79be3..bcffdf3c9 100644 --- a/examples/opengl/hellogl2.py +++ b/examples/opengl/hellogl2.py @@ -40,20 +40,20 @@ ## ############################################################################ -"""PySide2 port of the opengl/hellogl2 example from Qt v5.x""" +"""PySide6 port of the opengl/hellogl2 example from Qt v5.x""" import sys import math import numpy import ctypes -from PySide2.QtCore import QCoreApplication, Signal, SIGNAL, SLOT, Qt, QSize, QPoint -from PySide2.QtGui import (QVector3D, QOpenGLFunctions, +from PySide6.QtCore import QCoreApplication, Signal, SIGNAL, SLOT, Qt, QSize, QPoint +from PySide6.QtGui import (QVector3D, QOpenGLFunctions, QMatrix4x4, QOpenGLContext, QSurfaceFormat) -from PySide2.QtOpenGL import (QOpenGLVertexArrayObject, QOpenGLBuffer, +from PySide6.QtOpenGL import (QOpenGLVertexArrayObject, QOpenGLBuffer, QOpenGLShaderProgram, QOpenGLShader) -from PySide2.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, +from PySide6.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, QSlider) -from PySide2.QtOpenGLWidgets import QOpenGLWidget +from PySide6.QtOpenGLWidgets import QOpenGLWidget from shiboken6 import VoidPtr |
