Merge pull request #1385 from davvid/bindir
[git-cola.git] / qtpy / QtTextToSpeech.py
blobc37192a1f3c603a1e75093fed01a39b68042a1b3
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 QtTextToSpeech classes and functions."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5:
19 from PyQt5.QtTextToSpeech import *
20 elif PYQT6:
21 raise QtBindingMissingModuleError(name="QtTextToSpeech")
22 elif PYSIDE2:
23 from PySide2.QtTextToSpeech import *
24 elif PYSIDE6:
25 raise QtBindingMissingModuleError(name="QtTextToSpeech")