From dfa468904d1e32a572c2407486ec32d853fbb367 Mon Sep 17 00:00:00 2001 From: Marco Benelli Date: Thu, 16 Feb 2017 16:01:20 +0100 Subject: qmlplugindump: reports qmlimportscanner's message Report to the user the stderr of qmlimportscanner, if needed. Task-number: QTBUG-58930 Change-Id: Ib8ddf12cb3d18c936eb151f12991900a32175576 Reviewed-by: Andy Shaw --- tools/qmlplugindump/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/qmlplugindump') diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 9e4bcf4414..acd892bedb 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -867,6 +867,8 @@ static bool getDependencies(const QQmlEngine &engine, const QString &pluginImpor if (!readDependenciesData(QLatin1String(""), depencenciesData, dependencies, QStringList(pluginImportUri), forceQtQuickDependency)) { std::cerr << "failed to proecess output of qmlimportscanner" << std::endl; + if (importScanner.exitCode() != 0) + std::cerr << importScanner.readAllStandardError().toStdString(); return false; } -- cgit v1.2.3