about: add PyQt6 compatibility for getting the PyQt version
[git-cola.git] / qtpy / QtQuick.py
blob7f140cb1b39eda9ba6b69a36694acd5e4f6977aa
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 QtQuick classes and functions."""
10 from . import PYQT5, PYQT6, PYSIDE6, PYSIDE2
12 if PYQT5:
13 from PyQt5.QtQuick import *
14 elif PYQT6:
15 from PyQt6.QtQuick import *
16 elif PYSIDE6:
17 from PySide6.QtQuick import *
18 elif PYSIDE2:
19 from PySide2.QtQuick import *