diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 998eafcbbbc..8bdf7c7b6ff 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -219,6 +219,8 @@ static bool isFatal(QtMsgType msgType) return false; } +#ifndef Q_OS_WASM + /*! Returns true if writing to \c stderr is supported. @@ -230,8 +232,6 @@ static bool systemHasStderr() return true; } -#ifndef Q_OS_WASM - /*! Returns true if writing to \c stderr will end up in a console/terminal visible to the user.