diff options
author | Marco Benelli <marco.benelli@qt.io> | 2017-02-16 16:01:20 +0100 |
---|---|---|
committer | Marco Benelli <marco.benelli@qt.io> | 2017-02-17 14:38:37 +0000 |
commit | dfa468904d1e32a572c2407486ec32d853fbb367 (patch) | |
tree | 19699aea29592c2e29a19f3712c1494f983b5f9c /tools/qmlplugindump | |
parent | 12db36d8a60c1133329dfc39820500549a7b0d7d (diff) |
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 <andy.shaw@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r-- | tools/qmlplugindump/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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("<outputOfQmlimportscanner>"), 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; } |