qt 链接信号槽出现信号名称重载情况,如何指定类型进行链接
//指定类型 void (QProcess:: *finished)(int) = &QProcess::finished; //创建连接 connect(process,finished,this,[=]() mutable{ process->exitCode(); }); //这种编译通不过 connect(process,&QProcess::finished,this,[=]() mutable{ process->exitCode(); });
//