应用程序输出栏显示:QObject::connect: No Such slot ......

四大步,我是在第二步找到解闪办法的

  1. 添加头文件#include
  2. 看类声明中有没有Q_OBJECT
  3. 看slot函数有没有声明
private slots:
void xxxx();
  1. 查看slot有没有出现拼写错误~~~
原文地址:https://www.cnblogs.com/laohaozi/p/12537553.html