diff --git a/src/plugins/projectexplorer/windebuginterface.cpp b/src/plugins/projectexplorer/windebuginterface.cpp index 63e25b086e9..b8ede9a9938 100644 --- a/src/plugins/projectexplorer/windebuginterface.cpp +++ b/src/plugins/projectexplorer/windebuginterface.cpp @@ -32,6 +32,10 @@ #ifdef Q_OS_WIN +# if (QT_VERSION < QT_VERSION_CHECK(5, 4, 1)) +# define NOMINMAX +# endif + #include #include #include