aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-10-19 12:34:46 +0200
committerhjk <hjk@qt.io>2022-10-19 10:52:57 +0000
commit0819bf3781a6eed79a1541cd4befa4d64198d256 (patch)
tree9b5b4ebb7be5ef5f608b544059a1ed6dbc769714 /src/app
parent0c7883f3842b7eb6a540fff34a069032566b0bd0 (diff)
App: Make -version output go to stdout
Fixes: QTCREATORBUG-28327 Change-Id: I0a263ec79ab49a4d1d0816fe798d8a0403e6fce0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index fbb02042c6..5d232621dc 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)