From ad330d9f619b00536ccffae437ef6ed01fe25a99 Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Tue, 18 Jul 2023 11:15:36 +0200 Subject: [PATCH] QMutex: add missing include std::chrono is still used in the header. Do not rely on transitive includes, instead include the header explicitly. Change-Id: If9140499e5dccf0065a4826831d3b83813910318 Reviewed-by: Marc Mutz (cherry picked from commit 32d44b612c0e412b10af021c9c6bc911e2f01d04) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/thread/qmutex.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index 6081bfe4cc0..a96db102d2a 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -9,6 +9,8 @@ #include #include +#include + QT_BEGIN_NAMESPACE #if QT_CONFIG(thread) || defined(Q_QDOC)