From ad6aaa772705bcd589d64d663ce72ea6d4b86356 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 10 Jun 2022 16:08:39 +0200 Subject: Add pragmas to the header files that needs to be skipped by syncqt Add the qt_sync_skip_header_check and qt_sync_stop_processing pragmas to: qtbase/src/corelib/global/qsystemdetection.h qtbase/src/corelib/global/qprocessordetection.h qtbase/src/corelib/global/qcompilerdetection.h to avoid checking by synqt. These files were previously blacklisted in syncqt.profile. Change-Id: I268a3063e7eafb9a78e9e8d1cb67cd2def490b35 Reviewed-by: Thiago Macieira --- src/corelib/global/qcompilerdetection.h | 5 +++++ src/corelib/global/qprocessordetection.h | 5 +++++ src/corelib/global/qsystemdetection.h | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'src') diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index acbd1c188a..64154bc0c8 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -6,6 +6,11 @@ # include #endif +#if 0 +#pragma qt_sync_skip_header_check +#pragma qt_sync_stop_processing +#endif + #ifndef QCOMPILERDETECTION_H #define QCOMPILERDETECTION_H diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index fb93a7d06b..417b6cb508 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -6,6 +6,11 @@ # include #endif +#if 0 +#pragma qt_sync_skip_header_check +#pragma qt_sync_stop_processing +#endif + #ifndef QPROCESSORDETECTION_H #define QPROCESSORDETECTION_H diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h index cbbe613e40..a4cc20b540 100644 --- a/src/corelib/global/qsystemdetection.h +++ b/src/corelib/global/qsystemdetection.h @@ -6,6 +6,11 @@ # include #endif +#if 0 +#pragma qt_sync_skip_header_check +#pragma qt_sync_stop_processing +#endif + #ifndef QSYSTEMDETECTION_H #define QSYSTEMDETECTION_H -- cgit v1.2.3