From 826bf2f7f62bee5cd0067d748fb7e4e20f043926 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Mon, 7 Oct 2024 16:25:47 +0200 Subject: [PATCH] ProjectExplorer: Don't prematurely reject non existing directories Working Directories may contain macros that still need to be expanded. Change-Id: Iba31d439aab9c918bef40b6ad1a55d25fe77cb7b Reviewed-by: David Schulz --- src/plugins/projectexplorer/workspaceproject.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/projectexplorer/workspaceproject.cpp b/src/plugins/projectexplorer/workspaceproject.cpp index 96453a0c976..90554b92dba 100644 --- a/src/plugins/projectexplorer/workspaceproject.cpp +++ b/src/plugins/projectexplorer/workspaceproject.cpp @@ -209,9 +209,6 @@ void WorkspaceBuildSystem::reparse(bool force) FilePath workingDirectory = FilePath::fromUserInput( targetObject["workingDirectory"].toString()); - if (!workingDirectory.isDir()) - workingDirectory = FilePath::currentWorkingPath(); - const QString name = targetObject["name"].toString(); const FilePath executable = FilePath::fromUserInput( targetObject["executable"].toString());