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 <david.schulz@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-10-07 16:25:47 +02:00
parent a8a19767b4
commit 826bf2f7f6

View File

@@ -209,9 +209,6 @@ void WorkspaceBuildSystem::reparse(bool force)
FilePath workingDirectory = FilePath::fromUserInput( FilePath workingDirectory = FilePath::fromUserInput(
targetObject["workingDirectory"].toString()); targetObject["workingDirectory"].toString());
if (!workingDirectory.isDir())
workingDirectory = FilePath::currentWorkingPath();
const QString name = targetObject["name"].toString(); const QString name = targetObject["name"].toString();
const FilePath executable = FilePath::fromUserInput( const FilePath executable = FilePath::fromUserInput(
targetObject["executable"].toString()); targetObject["executable"].toString());