connect(&m_connectProc,SIGNAL(finished(int,QProcess::ExitStatus)),this,SLOT(verifyConnectionResults(int,QProcess::ExitStatus))); 用QProcess变量做成员变量时要注意 连接它的槽函数,当析构此成员变量时会执行此函数,会发生上面的错误,所以应该在此类的析构函数里:断开连接!disconnect(&m_connectProc,SIGNAL(finished(int,QProcess::ExitStatus)),this,SLOT(verifyConnectionResults(int,QProcess::ExitStatus)));
如果觉得《Qt Runtime Error ! R6025 - pure virtual function call》对你有帮助,请点赞、收藏,并留下你的观点哦!