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.
14 lines
426 B
14 lines
426 B
6 years ago
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
# Copyright © 2012 Pierre Raybaut
|
||
|
# Licensed under the terms of the MIT License
|
||
|
# (copied from Spyder source code [spyderlib.qt])
|
||
|
|
||
|
import os
|
||
|
|
||
|
if os.environ['QT_API'] == 'pyqt5':
|
||
|
from PyQt5.QtSvg import * # analysis:ignore
|
||
|
elif os.environ['QT_API'] == 'pyqt':
|
||
|
from PyQt4.QtSvg import * # analysis:ignore
|
||
|
else:
|
||
|
from PySide.QtSvg import * # analysis:ignore
|