收起
假如你的弹窗的ui文件名叫tanchuang在界面2的cpp文件里包含一下“tanchuang.h”这个头文件然后在界面2的cpp文件里写上tanchuangwidget = new tanchuang;在按钮的槽函数写上tanchuangwidget->show();
报告相同问题?