Fixed PyQt5 sip module incompatibility
@@ -267,10 +267,11 @@ def import_pyqt5():
ImportErrors rasied within this function are non-recoverable
"""
- import sip
from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui, QtPrintSupport
+ import sip
+
# Alias PyQt-specific functions for PySide compatibility.
QtCore.Signal = QtCore.pyqtSignal
QtCore.Slot = QtCore.pyqtSlot
