我想用 QProcess 执行命令行:
QString elf_path=C:\\files\\file.elf;
QString appli = "readelf.exe -a "+elf_path+" >>C:\\work\\essai.txt";
QProcess *process = new QProcess();
process->execute(appli);
但 QT 显示此错误:
readelf: Error: '>>C:\work\essai.txt': No such file
你能帮助我吗 ?