Hi, Il 14/11/20 04:51, Thiago Macieira ha scritto:
QThread::create is still behind a few #ifdefs in Qt 6. It requires:1) a configure-time check for C++11 std::future and std::async 2) a compile-time check for C++14 std::invoke and some C++14 language features #1 enables the create() function at all; #2 enables the ability to pass a callable that takes argumentst and those extra arguments to create() . During Qt 5 that made sense because we only required C++11. Qt 6 requires C++17 core language. Do we also want to require C++17 standard library? Or at least the C++14 standard library? Or even the C++11 library?
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?
Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development