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

1, Qt563x86vs2015, encounter the following compilation errors:

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

 For more information as shown below:

  

 

 ZC: connect always thought it was associated with the new write what is wrong, only to discover later did I write parameter signals and slots do not match, but that does not connect my latest writing, but writing connect before ...! !!

 ZC: That there is a pit: error message is really directed parameter error signals and slots do not match, I also know that this is a problem, but it does not indicate which connect the above problem, that is to say all connect are possible!!! That is all connect should be checked again ......! ! !

2、

3、

4、

5、

6、

Guess you like

Origin www.cnblogs.com/cppskill/p/12008448.html