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 classes and functions specific to macOS and iOS operating systems"""
17 QtModuleNotInQtVersionError
,
21 if sys
.platform
== 'darwin':
23 from PyQt5
.QtMacExtras
import *
25 raise QtModuleNotInQtVersionError(name
='QtMacExtras')
27 from PySide2
.QtMacExtras
import *
29 raise QtModuleNotInQtVersionError(name
='QtMacExtras')
31 raise QtModuleNotInOSError(name
='QtMacExtras')