Pyqt6 qtwidgets install mac. loadUi("mainwindow.