From fe0c357d1bfb109520e5ef3ae4cd4556819fb5d1 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Tue, 4 Dec 2018 16:51:29 +0100 Subject: Fix shiboken2 module import from example Change-Id: If2783d4796dced281a5f90c3847ac105860f1807 Fixes: PYSIDE-866 Reviewed-by: Friedemann Kleint --- examples/opengl/hellogl2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/opengl') diff --git a/examples/opengl/hellogl2.py b/examples/opengl/hellogl2.py index e1af6f2a6..b8d1c0e7d 100755 --- a/examples/opengl/hellogl2.py +++ b/examples/opengl/hellogl2.py @@ -52,7 +52,7 @@ from PySide2.QtGui import (QVector3D, QOpenGLFunctions, QOpenGLVertexArrayObject QOpenGLShaderProgram, QMatrix4x4, QOpenGLShader, QOpenGLContext, QSurfaceFormat) from PySide2.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, QSlider, QOpenGLWidget) -from PySide2.shiboken2 import VoidPtr +from shiboken2 import VoidPtr try: from OpenGL import GL -- cgit v1.2.3