summaryrefslogtreecommitdiffstats
path: root/src/sdk/commandlineinterface.cpp
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-10-18 17:28:49 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-10-22 11:13:00 +0300
commit4066fbebcabbdf591c2fc525343f8f78486457d2 (patch)
treef8772769de741b3b35f62a920a8cea24496556b5 /src/sdk/commandlineinterface.cpp
parentf8bebde7599a12becffac6c6dbfa58f0d584bc01 (diff)
Print essential component information with std::cout
Do not use our own message handler for printing XML-formatted component information (from 'list', 'search', 'check-updates') that is expected to be included in output regardless of the current verbosity level or logging rules. Higher verbosity can still add more information to be included in output. Also: - Modify auto-tests to pass and check the output correctly. - Remove now orphaned 'ifw.package.info' logging category. - Rename 'LoggingHandler::printComponentInformation()' to 'printUpdateInformation()' to better match the intended purpose. Task-number: QTIFW-2349 Change-Id: Id1a868f8f824c606825cd6168974a7e3845383e6 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/sdk/commandlineinterface.cpp')
-rw-r--r--src/sdk/commandlineinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/commandlineinterface.cpp b/src/sdk/commandlineinterface.cpp
index a63b2a5bf..6b674364c 100644
--- a/src/sdk/commandlineinterface.cpp
+++ b/src/sdk/commandlineinterface.cpp
@@ -108,7 +108,7 @@ int CommandLineInterface::checkUpdates()
qCWarning(QInstaller::lcInstallerInstallLog) << "There are currently no updates available.";
return EXIT_SUCCESS;
}
- QInstaller::LoggingHandler::instance().printComponentInfo(components);
+ QInstaller::LoggingHandler::instance().printUpdateInformation(components);
return EXIT_SUCCESS;
}