安装Qt designer

pip install PyQt5-tools

pycharm 添加外部工具

原文地址:https://www.cnblogs.com/hbuwyg/p/8595743.html