SDKtool: Warn if file is not found

Change-Id: I3f4dd1ec04220ffedfa22f732211f1253d1b2202
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-07-20 11:42:47 +02:00
committed by Tim Jenssen
parent 396ee16635
commit 274d3a8c79

View File

@@ -102,6 +102,8 @@ QVariantMap Operation::load(const QString &file)
if (!reader.load(path)) if (!reader.load(path))
return QVariantMap(); return QVariantMap();
map = reader.restoreValues(); map = reader.restoreValues();
} else {
std::cerr << "File " << qPrintable(path.toUserOutput()) << " not found." << std::endl;
} }
return map; return map;