aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/corelib/buildgraph/productinstaller.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/productinstaller.cpp b/src/lib/corelib/buildgraph/productinstaller.cpp
index 5ecb0d3de..d7d2eda2b 100644
--- a/src/lib/corelib/buildgraph/productinstaller.cpp
+++ b/src/lib/corelib/buildgraph/productinstaller.cpp
@@ -202,7 +202,9 @@ void ProductInstaller::copyFile(const Artifact *artifact)
}
if (m_targetFilePathsMap.contains(targetFilePath)) {
- handleError(Tr::tr("Cannot install files '%1' and '%2' to the same location '%3'.")
+ handleError(Tr::tr("Cannot install files '%1' and '%2' to the same location '%3'. If you "
+ "are attempting to install a directory hierarchy, consider using "
+ "the qbs.installSourceBase property.")
.arg(artifact->filePath(), m_targetFilePathsMap[targetFilePath],
targetFilePath));
}