cmd下运行

python.exe -m PyQt5.uic.pyuic mainwindows.ui -o mainwindows.py