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:
Oswald Buddenhagen
2016-10-24 20:24:44 +02:00
parent c0ddf0a344
commit 5e148f1147

View File

@@ -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;