From 274d3a8c79f369af201e475fdaa4bb157c04c512 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 20 Jul 2016 11:42:47 +0200 Subject: [PATCH] SDKtool: Warn if file is not found Change-Id: I3f4dd1ec04220ffedfa22f732211f1253d1b2202 Reviewed-by: Tim Jenssen --- src/tools/sdktool/operation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/sdktool/operation.cpp b/src/tools/sdktool/operation.cpp index 8a21983db02..9a62a5945ce 100644 --- a/src/tools/sdktool/operation.cpp +++ b/src/tools/sdktool/operation.cpp @@ -102,6 +102,8 @@ QVariantMap Operation::load(const QString &file) if (!reader.load(path)) return QVariantMap(); map = reader.restoreValues(); + } else { + std::cerr << "File " << qPrintable(path.toUserOutput()) << " not found." << std::endl; } return map;