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:
@@ -1255,10 +1255,10 @@ void CMakeBuildSystem::updateInitialCMakeExpandableVars()
|
||||
// this is not 100% correct since CMake resolve them to CMAKE_CURRENT_SOURCE_DIR
|
||||
// depending on context, but we cannot do better here
|
||||
return first == second
|
||||
|| projectDirectory.absoluteFilePath(first)
|
||||
== projectDirectory.absoluteFilePath(second)
|
||||
|| projectDirectory.absoluteFilePath(first).canonicalPath()
|
||||
== projectDirectory.absoluteFilePath(second).canonicalPath();
|
||||
|| projectDirectory.resolvePath(first)
|
||||
== projectDirectory.resolvePath(second)
|
||||
|| projectDirectory.resolvePath(first).canonicalPath()
|
||||
== projectDirectory.resolvePath(second).canonicalPath();
|
||||
};
|
||||
|
||||
// Replace path values that do not exist on file system
|
||||
|
||||
Reference in New Issue
Block a user