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 Windows-specific utilities"""
17 QtModuleNotInQtVersionError
,
21 if sys
.platform
== 'win32':
23 from PyQt5
.QtWinExtras
import *
25 raise QtModuleNotInQtVersionError(name
='QtWinExtras')
27 from PySide2
.QtWinExtras
import *
29 raise QtModuleNotInQtVersionError(name
='QtWinExtras')
31 raise QtModuleNotInOSError(name
='QtWinExtras')