Commit 25788103 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

Debugging helpers: Preserve whole build log

Otherwise, users might only see parts of the build that succeeded, but
not the failed ones (depending on build order).

Reviewed-by: ckamm
parent a5c7d465
......@@ -16,8 +16,6 @@ exists($$PWD/qmljsdebugger/qmljsdebugger-lib.pri) {
mac {
......@@ -223,11 +223,11 @@ QString QmlDumpTool::copy(const QString &qtInstallData, QString *errorMessage)
QString sourcePath = Core::ICore::instance()->resourcePath() + QLatin1String("/qml/qmldump/");
// Try to find a writeable directory.
foreach(const QString &directory, directories)
foreach(const QString &directory, directories) {
if (copyFiles(sourcePath, files, directory, errorMessage)) {
return directory;
*errorMessage = QCoreApplication::translate("ProjectExplorer::QmlDumpTool",
"qmldump could not be built in any of the directories:\n- %1\n\nReason: %2")
.arg(directories.join(QLatin1String("\n- ")), *errorMessage);
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