simply use the new parser flags to report all errors directly.
Change-Id: I9156da340913cb2cdd3465d99ad81321232192e5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
visitor.setOutputDir(QDir::currentPath());
ProFile *pro;
- if (!(pro = parser.parsedProFile(QDir::cleanPath(fi.absoluteFilePath())))) {
- printErr(LR::tr(
- "lrelease error: cannot read project file '%1'.\n")
- .arg(inputFile));
+ if (!(pro = parser.parsedProFile(QDir::cleanPath(fi.absoluteFilePath()),
+ QMakeParser::ParseReportMissing))) {
continue;
}
if (!visitor.accept(pro)) {