forked from qt-creator/qt-creator
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:
@@ -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());
|
||||||
|
Reference in New Issue
Block a user