Index: main.cpp =================================================================== --- main.cpp (revision 2316) +++ main.cpp (working copy) @@ -393,6 +393,13 @@ { foreach (const QString &proFile, proFiles) { QFileInfo pfi(proFile); + if (topLevel && !pfi.exists()) + { + *fail = true; + printErr(LU::tr("lupdate error:" + " Project file %1 not found\n").arg(proFile)); + continue; + } ProFileEvaluator visitor(option, parser, &evalHandler); ProFile *pro;