I have a python application which runs under python3.6 and is using PyQt5 for loading Ui windows. These windows were created with Qt Designer 5.9.4. The Code below shows a w
PySide2 brought back loadUiType in May 2020. So if you updgrade, you can get a drop-in replacement. The only difference is the import:
from PySide2.QtUiTools import loadUiType
Syntax is the same (you will use loadUiType()[0] )
loadUiType()[0]