OSDN Git Service

include the qt_windows header in the win32 platform header
authorIvailo Monev <xakepa10@gmail.com>
Fri, 5 Feb 2016 21:42:10 +0000 (23:42 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Fri, 5 Feb 2016 21:42:10 +0000 (23:42 +0200)
this ensures that definitions from the qt_windows header are really before
anything that includes windows, fixes build with MinGW on Windows host
because WINVER is overriden from qt_windows header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
mkspecs/win32/qplatformdefs.h

index e66d3f8..e629668 100644 (file)
@@ -51,6 +51,7 @@
 // Get Qt defines/settings
 
 #include "qglobal.h"
+#include "qt_windows.h"
 
 #define _POSIX_
 #include <limits.h>