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


    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、

  • 相关阅读:
    web--ajax--json
    4.26
    4.25
    4.23
    4.22
    4.20
    4.19
    4.18
    4月问题总结章
    4.17
  • 原文地址:https://www.cnblogs.com/cppskill/p/12008448.html
Copyright © 2020-2023  润新知