From 0819bf3781a6eed79a1541cd4befa4d64198d256 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 19 Oct 2022 12:34:46 +0200 Subject: [PATCH] App: Make -version output go to stdout Fixes: QTCREATORBUG-28327 Change-Id: I0a263ec79ab49a4d1d0816fe798d8a0403e6fce0 Reviewed-by: Eike Ziller --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index fbb02042c6b..5d232621dc2 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -117,7 +117,7 @@ static void displayHelpText(const QString &t) if (Utils::HostOsInfo::isWindowsHost() && qApp) QMessageBox::information(nullptr, QLatin1String(Core::Constants::IDE_DISPLAY_NAME), toHtml(t)); else - qWarning("%s", qPrintable(t)); + printf("%s", qPrintable(t)); } static void displayError(const QString &t)