[Development] QThread::create mandatory in Qt 6?

Allan Sandfeld Jensen kde at carewolf.com
Sun Nov 15 09:16:58 CET 2020


On Sonntag, 15. November 2020 01:37:32 CET Thiago Macieira wrote:
> On Saturday, 14 November 2020 03:05:13 PST Giuseppe D'Angelo via Development
> wrote:
> > 2) was removed in https://codereview.qt-project.org/c/qt/qtbase/+/306811
> > , or are you referring to something else? Was it a mistake to remove it?
> 
> Ah, right. I was looking at the 5.15 header and didn't remember the 6.0
> change.
> 
> Anyway, the question remains: can we remove the configure-time check and
> assume std::future and std::async (C++11 standard library features) are
> present?
> 
> At least one platform -- not a main one -- will stop working.

I would suggest so. I guess could even assume most C++17 library features to 
be there. While clang's libc++ is not quite done yet, it is mostly details 
missing.

As a minimum I would require c++14 library to be there, so we require full c+
+17 language, and full c++14 library, that should be within the current 
required compiler minimums.

'Allan




More information about the Development mailing list