Merge remote-tracking branch 'origin/4.1'

Change-Id: I5cacf96b5be4053d3a32a7c2a78fad463b9600d0
This commit is contained in:
Eike Ziller
2016-08-17 15:14:53 +02:00
9 changed files with 17 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ QString QmakeBuildConfiguration::shadowBuildDirectory(const QString &proFilePath
return QString();
const QString projectName = QFileInfo(proFilePath).completeBaseName();
ProjectMacroExpander expander(projectName, k, suffix, buildType);
ProjectMacroExpander expander(proFilePath, projectName, k, suffix, buildType);
QString projectDir = Project::projectDirectory(FileName::fromString(proFilePath)).toString();
QString buildPath = expander.expand(Core::DocumentManager::buildDirectory());
return FileUtils::resolvePath(projectDir, buildPath);