aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/artifact.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-03-10 15:31:35 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-03-10 15:09:13 +0000
commit71e97b858911f5a2283689f44c5018cf5347f225 (patch)
tree451f241c171b3fa88511d9531113c28facb78110 /src/lib/corelib/buildgraph/artifact.cpp
parentf850cf25aaf7f42419d8450ee4be37347d2837dd (diff)
Include the product name in the build graph node string.
Rule node information in particular is largely useless otherwise. Change-Id: Ia2f0f92c697c674a11dfe5a0e4953b3f7ff05d07 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/artifact.cpp')
-rw-r--r--src/lib/corelib/buildgraph/artifact.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/artifact.cpp b/src/lib/corelib/buildgraph/artifact.cpp
index caf590fe8..d0aa6fdfb 100644
--- a/src/lib/corelib/buildgraph/artifact.cpp
+++ b/src/lib/corelib/buildgraph/artifact.cpp
@@ -78,7 +78,8 @@ void Artifact::accept(BuildGraphVisitor *visitor)
QString Artifact::toString() const
{
- return QLatin1String("ARTIFACT ") + filePath();
+ return QLatin1String("ARTIFACT ") + filePath() + QLatin1String(" [")
+ + (!product.isNull() ? product->name : QLatin1String("<null>")) + QLatin1Char(']');
}
void Artifact::addFileTag(const FileTag &t)