c++ - QProcess not starting -


i have following code:

proc = new qprocess(); proc->startdetached("c:\\ffmpeg.exe", qstringlist() <<"-i"<< "c:\\pics\\frame%d.png"<< "-r"<< "30" << "-vcodec"<< "ffv1" << "c:\\test.avi" ); connect(proc,signal(finished(int)),this,slot(finishedffmpeg(int))); 

for reason signal finished() , started() never gets called. test.avi file being created correctly.

what missing here?

it should or use @:

proc = new qprocess(); proc->startdetached("c:\\ffmpeg.exe", qstringlist() <<"-i"<< "c:\\pics\\frame%d.png "<< "-r"<< "30" << "-vcodec"<< "ffv1" << "c:\\test.avi" ); connect(proc,signal(finished(int)),this,slot(finishedffmpeg(int))); 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -