forked from qt-creator/qt-creator
Project: Use Utils::FileName as return type for projectDirectory(...)
Change-Id: I3ea10aa204b1ea41702edab09884b416cd6d9e06 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -1442,7 +1442,7 @@ QString QmakeProject::shadowBuildDirectory(const QString &proFilePath, const Kit
|
||||
|
||||
const QString projectName = QFileInfo(proFilePath).completeBaseName();
|
||||
ProjectExplorer::ProjectMacroExpander expander(proFilePath, projectName, k, suffix);
|
||||
QString projectDir = projectDirectory(proFilePath);
|
||||
QString projectDir = projectDirectory(Utils::FileName::fromString(proFilePath)).toString();
|
||||
QString buildPath = Utils::expandMacros(Core::DocumentManager::buildDirectory(), &expander);
|
||||
return Utils::FileUtils::resolvePath(projectDir, buildPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user