You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
568 B

4 years ago
  1. # -*- coding: utf-8 -*-
  2. # -----------------------------------------------------------------------------
  3. # Copyright © 2009- The Spyder Development Team
  4. #
  5. # Licensed under the terms of the MIT License
  6. # (see LICENSE.txt for details)
  7. # -----------------------------------------------------------------------------
  8. """Provides QtQml classes and functions."""
  9. # Local imports
  10. from . import PYQT5, PYSIDE2, PythonQtError
  11. if PYQT5:
  12. from PyQt5.QtQml import *
  13. elif PYSIDE2:
  14. from PySide2.QtQml import *
  15. else:
  16. raise PythonQtError('No Qt bindings could be found')