forked from qt-creator/qt-creator
Utils: Rename FilePath::absolutePath(FilePath) to resolvePath
There was already a similar function taking a QString. After that, the remaining no-argument version of absolutePath() can be deprecated. Change-Id: I5b9ad8c8b68a5723891b0aa9f5a37e90db0fe09e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -251,7 +251,7 @@ FilePath BuildConfiguration::buildDirectory() const
|
||||
path = QDir::cleanPath(macroExpander()->expand(path));
|
||||
|
||||
const FilePath projectDir = target()->project()->projectDirectory();
|
||||
const FilePath buildDir = projectDir.absoluteFilePath(FilePath::fromString(path));
|
||||
const FilePath buildDir = projectDir.resolvePath(FilePath::fromString(path));
|
||||
|
||||
return mapFromBuildDeviceToGlobalPath(buildDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user