forked from qt-creator/qt-creator
Utils: add FilePath::completeBaseName
Removing some FilePath::toFileInfo() calls again. Change-Id: I6610beebf2c30754fde525b71f4c4a34ceb5e30b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -105,7 +105,7 @@ FilePath QmakeBuildConfiguration::shadowBuildDirectory(const FilePath &proFilePa
|
||||
if (proFilePath.isEmpty())
|
||||
return {};
|
||||
|
||||
const QString projectName = proFilePath.toFileInfo().completeBaseName();
|
||||
const QString projectName = proFilePath.completeBaseName();
|
||||
ProjectMacroExpander expander(proFilePath, projectName, k, suffix, buildType);
|
||||
FilePath projectDir = Project::projectDirectory(proFilePath);
|
||||
QString buildPath = expander.expand(ProjectExplorerPlugin::buildDirectoryTemplate());
|
||||
|
||||
Reference in New Issue
Block a user