QSemaphore: add missing <chrono> include

std::chrono is still used in the header.
Do not rely on transitive includes, instead include the header
explicitly.

Pick-to: 6.6
Change-Id: I2cf5dc275c3272151efd655a4fa85936942c5708
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Ivan Solovev 2023-07-18 11:22:55 +02:00
parent d6dacfecb1
commit 7a33a08376

View File

@ -7,6 +7,8 @@
#include <QtCore/qglobal.h>
#include <QtCore/qdeadlinetimer.h>
#include <chrono>
QT_REQUIRE_CONFIG(thread);
QT_BEGIN_NAMESPACE