diff --git a/patches/qtbase/0001-Fix-build-without-std-thread.patch b/patches/qtbase/0001-Fix-build-without-std-thread.patch index e6c5522d..e39b88ad 100755 --- a/patches/qtbase/0001-Fix-build-without-std-thread.patch +++ b/patches/qtbase/0001-Fix-build-without-std-thread.patch @@ -1,41 +1,42 @@ #! /bin/sh patch -p1 -f -l $* < $0 exit $? From af43ceb86ff8f762f30824ec779e200680e21914 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 22 Jul 2020 15:27:33 +0200 Subject: [PATCH] Fix build without std::thread --- src/corelib/thread/qwaitcondition_p.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/corelib/thread/qwaitcondition_p.h b/src/corelib/thread/qwaitcondition_p.h index 5133e52e..d86ab804 100644 --- a/src/corelib/thread/qwaitcondition_p.h +++ b/src/corelib/thread/qwaitcondition_p.h -@@ -58,12 +58,20 @@ +@@ -58,12 +58,21 @@ #include #include ++#if !QT_CONFIG(cxx11_future) +namespace std { +enum class cv_status { + no_timeout, + timeout +}; +} -+ ++#endif + QT_BEGIN_NAMESPACE namespace QtPrivate { -#if defined(Q_OS_INTEGRITY) +#if defined(Q_OS_INTEGRITY) || defined(Q_OS_WIN) class condition_variable; -- 2.20.1