Show More
@@ -220,10 +220,6 b' def import_pyqt5():' | |||||
220 |
|
220 | |||
221 | from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui |
|
221 | from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui | |
222 |
|
222 | |||
223 | # Note that import sip must follow other PyQt5 imports for PyQt >5.11 |
|
|||
224 | # http://pyqt.sourceforge.net/Docs/PyQt5/incompatibilities.html#pyqt-v5-11 |
|
|||
225 | import sip |
|
|||
226 |
|
||||
227 | # Alias PyQt-specific functions for PySide compatibility. |
|
223 | # Alias PyQt-specific functions for PySide compatibility. | |
228 | QtCore.Signal = QtCore.pyqtSignal |
|
224 | QtCore.Signal = QtCore.pyqtSignal | |
229 | QtCore.Slot = QtCore.pyqtSlot |
|
225 | QtCore.Slot = QtCore.pyqtSlot |
General Comments 0
You need to be logged in to leave comments.
Login now