For the record, the examples were originally written in PyQt but have been ported to PySide by the PySide team. There is no hard dependency on PyOpenGL because there is a perfectly valid scenario using QGraphicsView with GL acceleration, for which it is not needed (unlike Qt3D).
try: from OpenGL import GL except ImportError: app = QtGui.QApplication(sys.argv) QtGui.QMessageBox.critical(None, "OpenGL hellogl", "PyOpenGL must be installed to run this example.", QtGui.QMessageBox.Ok | QtGui.QMessageBox.Default, QtGui.QMessageBox.NoButton) sys.exit(1)