我试图理解为什么在我的a.exec waitForFinished()和waitForStarted()调用能够工作之前,不需要在下面的QT4.8代码中放置这个调用。我知道a.exec()启动了事件循环,在我看来,waitFor*插槽在继续执行之前需要接收一个信号(即‘start()’或'finished()‘)。如果事件循环尚未启动,怎么会发生这种情况?waitForStarted()的文档:
Blocks until the process has started and the started() sign