18 lines
574 B
Python
18 lines
574 B
Python
# -*- coding: utf-8 -*-
|
|
# -----------------------------------------------------------------------------
|
|
# Copyright © 2009- The Spyder Development Team
|
|
#
|
|
# Licensed under the terms of the MIT License
|
|
# (see LICENSE.txt for details)
|
|
# -----------------------------------------------------------------------------
|
|
"""Provides QtQuick classes and functions."""
|
|
|
|
# Local imports
|
|
from . import PYQT5, PYSIDE2, PythonQtError
|
|
|
|
if PYQT5:
|
|
from PyQt5.QtQuick import *
|
|
elif PYSIDE2:
|
|
from PySide2.QtQuick import *
|
|
else:
|
|
raise PythonQtError('No Qt bindings could be found')
|