diff --git a/src/plugins/projectexplorer/workspaceproject.cpp b/src/plugins/projectexplorer/workspaceproject.cpp index 90554b92dba..afa92713c44 100644 --- a/src/plugins/projectexplorer/workspaceproject.cpp +++ b/src/plugins/projectexplorer/workspaceproject.cpp @@ -464,9 +464,7 @@ public: FilePath wd = FilePath::fromUserInput(bs["workingDirectory"].toString()); if (wd.isEmpty()) wd = "%{ActiveProject:BuildConfig:Path}"; - else if (wd.isRelativePath()) - wd = project()->projectDirectory().resolvePath(wd); - step->setWorkingDirectory(wd); + step->setWorkingDirectory(wd, project()->projectDirectory()); steps->appendStep(step); } initializeExtraInfo(extraInfos);