summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-26 08:35:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-26 08:07:25 +0000
commit7b9f7620b6da02ae1809a5255979c79533ec8480 (patch)
treefd60c57e5c3010d690416f18dd129f7f93b86a1b
parent8073b4b747bdb781cdfac1c4d48a9305de1f48ac (diff)
downloadqttools-7b9f7620b6da02ae1809a5255979c79533ec8480.tar.gz
windeployqt: Silence message about deploying the web engine process.
Add a check for optVerboseLevel which is set to 0 when passing --json. Otherwise, the message will appear in the JSON output. Task-number: QTBUG-51394 Change-Id: Id8595e0f2a1d2b597cc77e0896b700630d85b42e Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
-rw-r--r--src/windeployqt/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index d6a06c47b..6c7835318 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -1474,7 +1474,8 @@ static bool deployWebEngineCore(const QMap<QString, QString> &qmakeVariables,
"qtwebengine_resources_100p.pak",
"qtwebengine_resources_200p.pak"};
- std::wcout << "Deploying: " << webEngineProcessC << "...\n";
+ if (optVerboseLevel)
+ std::wcout << "Deploying: " << webEngineProcessC << "...\n";
if (!deployWebProcess(qmakeVariables, webEngineProcessC, options, errorMessage))
return false;
const QString resourcesSubDir = QStringLiteral("/resources");