用QProcess打开外部进程,然后用readAllStandardError和readAllStandardOutput读取错误流和标准输出流或者直接用基类QIODevice提供的read之类的函数读取即可。
16,215
社区成员
26,594
社区内容
加载中
试试用AI创作助手写篇文章吧