笔者原写法
connect(tryPassward, SIGNAL(clicked()), passardWindows, [](){});
报错:没有与之匹配的重载参数列表
修改后
connect(tryPassward, &QPushButton::clicked, passardWindows, [](){});
解决问题
猜测原因
SINGAL是qt4的写法,lambel是qt5以后才支持的
笔者原写法
connect(tryPassward, SIGNAL(clicked()), passardWindows, [](){});
报错:没有与之匹配的重载参数列表
修改后
connect(tryPassward, &QPushButton::clicked, passardWindows, [](){});
解决问题
猜测原因
SINGAL是qt4的写法,lambel是qt5以后才支持的