diff options
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qlogging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 357c164bae..48d0cac10e 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -1218,7 +1218,7 @@ void QMessagePattern::setPattern(const QString &pattern) #if defined(Q_OS_WINRT) OutputDebugString(reinterpret_cast<const wchar_t*>(error.utf16())); if (0) -#elif defined(Q_OS_WIN) && defined(QT_BUILD_CORE_LIB) +#elif defined(Q_OS_WIN) && !defined(QT_BOOTSTRAPPED) if (!qt_logging_to_console()) { OutputDebugString(reinterpret_cast<const wchar_t*>(error.utf16())); } else |