QT QProcess调用py文件,使用readyReadStandardOutput()无法获得信号的解决办法
connect(this, SIGNAL(readyReadStandardOutput()), this, SLOT(slot_bar()));将信号readyReadStandardOutput()连接槽函数slot_bar()后,调用QProcess执行外部程序。process->start("程序地址");对应槽函数void slot_bar(){ ......
原创
2019-08-22 15:48:28 ·
5297 阅读 ·
1 评论