Make syncqt ignore qsystemdetection.h and qcompilerdetection.h
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 6 Feb 2012 15:31:52 +0000 (16:31 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 02:40:40 +0000 (03:40 +0100)
Remove the #if 0'd blocks and instead add these headers to
sync.profile's @ignore_for_include_check, as documented at

http://wiki.qt-project.org/Creating_a_new_module_or_tool_for_Qt#other_fields

Change-Id: I3bd6e8cb21eca139fdca10fe970eeaf2e4e77c24
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/global/qcompilerdetection.h
src/corelib/global/qsystemdetection.h
sync.profile

index 7621b76..5ab7909 100644 (file)
 #ifndef QCOMPILERDETECTION_H
 #define QCOMPILERDETECTION_H
 
-#if 0
-// header is automatically included in qglobal.h
-#pragma qt_no_master_include
-
-// silence syncqt warnings (QT_* macros are not yet defined)
-QT_BEGIN_HEADER
-QT_BEGIN_NAMESPACE
-
-QT_END_NAMESPACE
-QT_END_HEADER
-
-#pragma qt_sync_stop_processing
-#endif
-
 /*
    The compiler, must be one of: (Q_CC_x)
 
index 11df62b..0228bc9 100644 (file)
 #ifndef QSYSTEMDETECTION_H
 #define QSYSTEMDETECTION_H
 
-#if 0
-// header is automatically included in qglobal.h
-#pragma qt_no_master_include
-
-// silence syncqt warnings (QT_* macros are not yet defined)
-QT_BEGIN_HEADER
-QT_BEGIN_NAMESPACE
-
-QT_END_NAMESPACE
-QT_END_HEADER
-
-#pragma qt_sync_stop_processing
-#endif
-
 /*
    The operating system, must be one of: (Q_OS_x)
 
index 446f8f4..4f01b7c 100644 (file)
@@ -77,7 +77,7 @@
 );
 
 @ignore_for_master_contents = ( "qt.h", "qpaintdevicedefs.h" );
-@ignore_for_include_check = ( "qatomic.h" );
+@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h" );
 @ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qt_windows.h" );
 @ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h" );
 @ignore_for_qt_module_check = ( "$modules{QtCore}/arch", "$modules{QtCore}/global", "$modules{QtTest}", "$modules{QtDBus}" );