From 4641945e45206508b44678011bb83da7722bad62 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 7 May 2024 15:31:42 -0700 Subject: [PATCH] QThreadPool: wrap the #include in QT_CORE_REMOVED_SINCE Might improve compilation time a little for people using this header. Amends 0e7e1c33965c43932e6c0228acc2f68259533482. Change-Id: Ic5b1273bb0204c31afd8fffd17cd558e4578c359 Reviewed-by: Ahmad Samir --- src/corelib/thread/qthreadpool.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h index a097ace14b..8f0130bd84 100644 --- a/src/corelib/thread/qthreadpool.h +++ b/src/corelib/thread/qthreadpool.h @@ -9,7 +9,9 @@ #include #include +#if QT_CORE_REMOVED_SINCE(6, 6) #include +#endif QT_REQUIRE_CONFIG(thread);