打开新建的QtWidgetsApplication类的.h文件;右键上面include的"ui_QtWidgetsApplication1.h"; 选择 打开文档"ui_QtWidgetsApplication1.h";