tests: disable gpg signing when running tests
[git-cola.git] / qtpy / QtOpenGL.py
blob69ef82280d1ece7802725cfe38d5b4c741203698
1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
8 """Provides QtOpenGL classes and functions."""
10 # Local imports
11 from . import PYQT4, PYQT5, PYSIDE, PYSIDE2, PythonQtError
13 if PYQT5:
14 from PyQt5.QtOpenGL import *
15 elif PYSIDE2:
16 from PySide2.QtOpenGL import *
17 elif PYQT4:
18 from PyQt4.QtOpenGL import *
19 elif PYSIDE:
20 from PySide.QtOpenGL import *
21 else:
22 raise PythonQtError('No Qt bindings could be found')
24 del PYQT4, PYQT5, PYSIDE, PYSIDE2