Show More
@@ -28,12 +28,13 b' if QT_API is None:' | |||
|
28 | 28 | if PySide.__version__ < '1.0.3': |
|
29 | 29 | # old PySide, fallback on PyQt |
|
30 | 30 | raise ImportError |
|
31 | from PySide import QtCore, QtGui, QtSvg | |
|
31 | 32 | QT_API = QT_API_PYSIDE |
|
32 | 33 | except ImportError: |
|
33 | 34 | try: |
|
34 | 35 | prepare_pyqt4() |
|
35 | 36 | import PyQt4 |
|
36 | from PyQt4 import QtCore | |
|
37 | from PyQt4 import QtCore, QtGui, QtSvg | |
|
37 | 38 | if QtCore.PYQT_VERSION_STR < '4.7': |
|
38 | 39 | # PyQt 4.6 has issues with null strings returning as None |
|
39 | 40 | raise ImportError |
General Comments 0
You need to be logged in to leave comments.
Login now