zl程序教程

您现在的位置是:首页 >  工具

当前栏目

qt QProcess

Qt
2023-09-14 08:58:44 时间
  • QProcess 用于启动外部程序并与它们进行通信
    QProcess* mInputPlayProcess = new QProcess(this);
    QString program = "D:/my-tools/ffmpeg/bin/ffplay.exe";
    QStringList arguments = {"-noborder", "-x", "1920", "-y", "1080", "-loop", "0", "C:/Users/ajanuw/Desktop/1.mp4"};
    mInputPlayProcess->start(program, arguments);