From 29a7489769bca59630782061789561fb07d77892 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 21 Feb 2022 23:31:08 +0100 Subject: Always include qt_windows header first qt_windows takes care of setting NOMINMAX, which prevents native headers from defining `min` and `max` as macros, breaking the build. So include that header always as the first header. Pick-to: 6.3 Change-Id: I82cd8b21d263102000e6e66f135465bc2c126db4 Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowsdrag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows/qwindowsdrag.cpp') diff --git a/src/plugins/platforms/windows/qwindowsdrag.cpp b/src/plugins/platforms/windows/qwindowsdrag.cpp index af32c191c3..e7a5fb300d 100644 --- a/src/plugins/platforms/windows/qwindowsdrag.cpp +++ b/src/plugins/platforms/windows/qwindowsdrag.cpp @@ -37,6 +37,7 @@ ** ****************************************************************************/ +#include #include "qwindowsdrag.h" #include "qwindowscontext.h" #include "qwindowsscreen.h" @@ -45,7 +46,6 @@ #endif #include "qwindowsintegration.h" #include "qwindowsdropdataobject.h" -#include #include "qwindowswindow.h" #include "qwindowsmousehandler.h" #include "qwindowscursor.h" -- cgit v1.2.3