code: def import_pyqt5():
      
      from PyQt5 import QtGui, QtCore, QtSvg
  
      # Alias PyQt-specific functions for PySide compatibility.
      QtCore.Signal = QtCore.pyqtSignal
      QtCore.Slot = QtCore.pyqtSlot
  
      return QtCore, QtGui, QtSvg, QT_API_PYQT5
docs: Import PyQt5
  
      ImportErrors raised within this function are non-recoverable