Commit 27153ddb authored by Robert Loehning's avatar Robert Loehning

QmlDesigner: Check whether puppet build process started

Change-Id: I6fe1a6c4426ccd6704b27d5a77f1f5aa30d067fd
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 49f3442a
......@@ -549,7 +549,8 @@ bool PuppetCreator::startBuildProcess(const QString &buildDirectoryPath,
process.setProcessEnvironment(processEnvironment());
process.setWorkingDirectory(buildDirectoryPath);
process.start(command, processArguments);
process.waitForStarted();
if (!process.waitForStarted())
return false;
while (process.waitForReadyRead(100) || process.state() == QProcess::Running) {
if (progressDialog->useFallbackPuppet())
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment