Qt No such slot for the QProcess::finished() signal

后端 未结 3 1161
[愿得一人]
[愿得一人] 2020-12-21 00:27

I am trying to run a command line program, gphoto2 from my Qt app running in Linux and read the results that it outputs to Standard Output and Standard Error. The GUI in th

3条回答
  •  感动是毒
    2020-12-21 01:17

    I believe the following will work:

    connect(cameraControl, SIGNAL(finished(int , QProcess::ExitStatus )), this, SLOT(on_cameraControlExit(int , QProcess::ExitStatus )));
    

提交回复
热议问题