forked from qt-creator/qt-creator
actually show errors from bogus SUBDIRS entries
this got lost in 51ba32bcc
.
Change-Id: Ic0c982cff8d4030eae8e942f9324fd6f49c68aa9
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -1858,8 +1858,8 @@ EvalResult *QmakeProFileNode::evaluate(const EvalInput &input)
|
|||||||
if (result->state == EvalResult::EvalOk) {
|
if (result->state == EvalResult::EvalOk) {
|
||||||
if (result->projectType == SubDirsTemplate) {
|
if (result->projectType == SubDirsTemplate) {
|
||||||
QStringList errors;
|
QStringList errors;
|
||||||
result->errors.append(errors);
|
|
||||||
FileNameList subDirs = subDirsPaths(input.readerExact, input.projectDir, &result->subProjectsNotToDeploy, &errors);
|
FileNameList subDirs = subDirsPaths(input.readerExact, input.projectDir, &result->subProjectsNotToDeploy, &errors);
|
||||||
|
result->errors.append(errors);
|
||||||
|
|
||||||
foreach (const Utils::FileName &subDirName, subDirs) {
|
foreach (const Utils::FileName &subDirName, subDirs) {
|
||||||
IncludedPriFile *subDir = new IncludedPriFile;
|
IncludedPriFile *subDir = new IncludedPriFile;
|
||||||
|
Reference in New Issue
Block a user