Utils: use cleaned stdout all over the place again

Amends 5ee880ce5e

Change-Id: Ie0202db7d8455372c3697087d9571db6706b45a1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2022-06-17 14:17:14 +02:00
parent dcd3d9e717
commit 153ff77a6b
48 changed files with 145 additions and 145 deletions

View File

@@ -238,7 +238,7 @@ static QByteArray decodeProvisioningProfile(const QString &path)
p.runBlocking();
if (p.result() != ProcessResult::FinishedWithSuccess)
qCDebug(iosCommonLog) << "Reading signed provisioning file failed" << path;
return p.stdOut().toLatin1();
return p.cleanedStdOut().toLatin1();
}
void IosConfigurations::updateAutomaticKitList()

View File

@@ -72,7 +72,7 @@ void XcodeProbe::detectDeveloperPaths()
qCWarning(probeLog)
<< QString::fromLatin1("Could not detect selected Xcode using xcode-select");
else
addDeveloperPath(selectedXcode.stdOut().trimmed());
addDeveloperPath(selectedXcode.cleanedStdOut().trimmed());
addDeveloperPath(defaultDeveloperPath);
}

View File

@@ -85,7 +85,7 @@ static bool runCommand(const CommandLine &command, QString *stdOutput, QString *
p.setCommand(command);
p.runBlocking();
if (stdOutput)
*stdOutput = p.stdOut();
*stdOutput = p.cleanedStdOut();
if (allOutput)
*allOutput = p.allOutput();
return p.result() == ProcessResult::FinishedWithSuccess;