summaryrefslogtreecommitdiff
path: root/src/activeqt/shared
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-04-17 09:08:38 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-04-17 18:10:49 +0000
commitb4c95d88c9aa8dc520793207c4bc344927690f47 (patch)
treeb8ac50784e3d60bf15fa0a17443e3da357617980 /src/activeqt/shared
parent3fd3ffade59c923014e02d5d6b07288b24c9493d (diff)
downloadqtactiveqt-b4c95d88c9aa8dc520793207c4bc344927690f47.tar.gz
qaxtypefunctions.h: Fix build with headersclean check.
Add missing include qt_windows.h, required for qtbase/ 6668f5becfb8fcb6d10e42495c6ea5cdba2d15c5. Change-Id: I8e9ea48e950b210579cfc523fafea84300aaca22 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/activeqt/shared')
-rw-r--r--src/activeqt/shared/qaxtypefunctions.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/activeqt/shared/qaxtypefunctions.h b/src/activeqt/shared/qaxtypefunctions.h
index 7dd200f..a3efa61 100644
--- a/src/activeqt/shared/qaxtypefunctions.h
+++ b/src/activeqt/shared/qaxtypefunctions.h
@@ -40,9 +40,7 @@
#ifndef QAXTYPEFUNCTIONS_P_H
#define QAXTYPEFUNCTIONS_P_H
-#if !defined(_WINDOWS_) && !defined(_WINDOWS_H) && !defined(__WINDOWS__)
-#error Must include windows.h first!
-#endif
+#include <QtCore/qt_windows.h>
#include <QtGui/qcolor.h>
#include <QtGui/qfont.h>