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 QtSvg classes and functions.""" 9 10# Local imports 11from . import PYQT4, PYSIDE2, PYQT5, PYSIDE, PythonQtError 12 13if PYQT5: 14 from PyQt5.QtSvg import * 15elif PYSIDE2: 16 from PySide2.QtSvg import * 17elif PYQT4: 18 from PyQt4.QtSvg import * 19elif PYSIDE: 20 from PySide.QtSvg import * 21else: 22 raise PythonQtError('No Qt bindings could be found') 23 24del PYQT4, PYQT5, PYSIDE, PYSIDE2 25