path: root/src/corelib/global
diff options
authorThiago Macieira <>2012-12-22 13:10:53 -0800
committerThe Qt Project <>2013-03-03 20:15:21 +0100
commitd93b2ef968f70fe2dd66f0879cc13ad4170e8553 (patch)
tree9d6439ccbef7539a70ab2727c7eb2e273eeef8e2 /src/corelib/global
parent078b3419bd33031923c791f9286686d2babb1b61 (diff)
Mark all qtbase headers that aren't clean
QtCore has a few headers that, though public, aren't meant to be included directly. Those are the atomic headers, the three _impl.h headers and qt_windows.h. QtGui includes two OpenGL headers that don't compile on their own. Other libraries should not have headers like that (but they do, something we need to fix eventually). Change-Id: I55e4eb057748f47df927ee618f9409acbc189cc1 Reviewed-by: Sean Harmer <> Reviewed-by: Gunnar Sletta <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/corelib/global')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/global/qt_windows.h b/src/corelib/global/qt_windows.h
index 26b55336ed..c3266c5487 100644
--- a/src/corelib/global/qt_windows.h
+++ b/src/corelib/global/qt_windows.h
@@ -42,6 +42,11 @@
#ifndef QT_WINDOWS_H
#define QT_WINDOWS_H
+#if 0
+#pragma qt_sync_skip_header_check
+#pragma qt_sync_stop_processing
#if defined(Q_CC_BOR)
// Borland's windows.h does not set these correctly, resulting in
// unusable WinSDK standard dialogs