这两句换成这样的顺序,要先连接信号和槽,再发送信号才行啊。。。。 connect(this, SIGNAL(sendok()), this, SLOT(shoudao())); emit sendok();
connect(this, SIGNAL(sendok()), this, SLOT(shoudao())); emit sendok();
16,216
社区成员
26,595
社区内容
加载中
试试用AI创作助手写篇文章吧