summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-02-08 12:51:27 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-03-07 18:12:09 +0000
commit67d5f79fe6f86726eff0461bd6f3bb928801723c (patch)
treea6cfb5061a272ca6226962fb80ddfd35a4780b2f /src/corelib/configure.json
parent3d53cf976dc41d136c0508ec05fa757fcf27f71b (diff)
logging: Clarify and document how we look for the presence of a console
The privately exported qt_logging_to_console() function has been renamed to shouldLogToStderr, and exported in the QtPrivate namespace for QtTestLib. [ChangeLog][Important behavior changes][Logging (including qDebug and qWarning)] The QT_LOGGING_TO_CONSOLE environment variable has been deprecated. Use the more specific QT_ASSUME_STDERR_HAS_CONSOLE or QT_FORCE_STDERR_LOGGING, depending on your usecase. Change-Id: Ie29228eeac3b700c3de94fee022d5d66d9b5c210 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index 7c3b513b0b..5e48024def 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -909,7 +909,7 @@ Mozilla License) is included. The data is then also used in QNetworkCookieJar::v
"condition": "features.journald || features.syslog || (config.qnx && features.slog2)",
"message": "journald, syslog or slog2 integration is enabled.
If your users intend to develop applications against this build,
-ensure that the IDEs they use either set QT_LOGGING_TO_CONSOLE to 1
+ensure that the IDEs they use either set QT_FORCE_STDERR_LOGGING to 1
or are able to read the logged output from journald, syslog or slog2."
},
{