diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 8d80a32ad54..555b04dcd57 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1400,6 +1400,13 @@ bool qSharedBuild() Q_DECL_NOTHROW \l Q_OS_WIN32, \l Q_OS_WIN64, or \l Q_OS_WINRT is defined. */ +/*! + \macro Q_OS_WINDOWS + \relates + + This is a synonym for Q_OS_WIN. +*/ + /*! \macro Q_OS_WIN32 \relates diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h index aabe46f3c27..a2e51fa3300 100644 --- a/src/corelib/global/qsystemdetection.h +++ b/src/corelib/global/qsystemdetection.h @@ -176,6 +176,7 @@ #endif #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) || defined(Q_OS_WINRT) +# define Q_OS_WINDOWS # define Q_OS_WIN #endif