首页 > 其他 > 详细

Qt5.编译错误.error: C2338: The slot requires more arguments than the signal provides.

时间:2019-12-09 01:28:02      阅读:322      评论:0      收藏:0      [点我收藏+]

1、Qt563x86vs2015,遇到如下 编译错误:

  error: C2338: The slot requires more arguments than the signal provides.

 更多信息如下图:

  技术分享图片

 

 ZC:一直以为是 新写的 connect关联 有什么错误,后来才发现  确实是 我写的 信号和槽 的参数不匹配,但是 并不是 我最新写的 那个connect,而是之前写的 connect... ! ! !

 ZC:也就是说 这里有一个坑:报错信息确实是指向错误 信号和槽的参数不匹配,我也知道了是这个问题,但是 它并没有指出 是哪个connect上面的问题,也就是说所有的connect都有可能 ! ! ! 也就是说 所有的connect都要检查一遍 ......!!!

2、

3、

4、

5、

6、

Qt5.编译错误.error: C2338: The slot requires more arguments than the signal provides.

原文:https://www.cnblogs.com/cppskill/p/12008448.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!