장애: MainWindow에서 아래 에러 발생
Exception has occurred: TypeError
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
원인: Ui파일 load할때 뒤에 [0] 안붙였다
Ui_MainWindow = uic.loadUiType("mywindow.ui")
class MainWindow(QMainWindow, Ui_MainWindow):
해결: [0]를 붙여서 해결
Ui_MainWindow = uic.loadUiType("mywindow.ui")[0]
class MainWindow(QMainWindow, Ui_MainWindow):