Skip to content
Snippets Groups Projects
Commit a64020c4 authored by Kai Koehne's avatar Kai Koehne
Browse files

DebuggingHelpers: Improve log

parent 3fef120d
No related branches found
No related tags found
No related merge requests found
...@@ -266,7 +266,7 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin ...@@ -266,7 +266,7 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin
proc.setProcessChannelMode(QProcess::MergedChannels); proc.setProcessChannelMode(QProcess::MergedChannels);
output->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary", output->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary",
"Building helper library '%1' in %2\n").arg(helperName, directory)); "Building helper '%1' in %2\n").arg(helperName, directory));
output->append(newline); output->append(newline);
const QString makeFullPath = env.searchInPath(makeCommand); const QString makeFullPath = env.searchInPath(makeCommand);
...@@ -282,9 +282,6 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin ...@@ -282,9 +282,6 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin
if (!runBuildProcess(proc, makeFullPath, QStringList(cleanTarget), 30000, true, output, errorMessage)) if (!runBuildProcess(proc, makeFullPath, QStringList(cleanTarget), 30000, true, output, errorMessage))
return false; return false;
} }
output->append(newline);
output->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary", "Running %1 ...\n").arg(qmakeCommand));
QStringList qmakeArgs; QStringList qmakeArgs;
if (!targetMode.isEmpty()) if (!targetMode.isEmpty())
qmakeArgs << targetMode; qmakeArgs << targetMode;
...@@ -292,6 +289,11 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin ...@@ -292,6 +289,11 @@ bool BuildableHelperLibrary::buildHelper(const QString &helperName, const QStrin
qmakeArgs << QLatin1String("-spec") << mkspec; qmakeArgs << QLatin1String("-spec") << mkspec;
qmakeArgs << proFilename; qmakeArgs << proFilename;
qmakeArgs << qmakeArguments; qmakeArgs << qmakeArguments;
output->append(newline);
output->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary", "Running %1 %2 ...\n").arg(qmakeCommand,
qmakeArgs.join(" ")));
if (!runBuildProcess(proc, qmakeCommand, qmakeArgs, 30000, false, output, errorMessage)) if (!runBuildProcess(proc, qmakeCommand, qmakeArgs, 30000, false, output, errorMessage))
return false; return false;
output->append(newline); output->append(newline);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment