hotkeys: make Cmd-M minimize the main window
[git-cola.git] / qtpy / shiboken.py
blob3e20a0c8e612079a3118e03937701f375c0eb4c4
1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides access to shiboken."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5 or PYQT6:
19 raise QtBindingMissingModuleError(name="shiboken")
20 elif PYSIDE2:
21 from shiboken2 import *
22 elif PYSIDE6:
23 from shiboken6 import *