[Development] QFuture and C++20

Jason H jhihn at gmx.com
Wed Mar 3 09:32:33 CET 2021


I saw Lars's Qt6 talk on youtube, where he said Qt6 requires C++17. He also mentioned the new QFuture:: then() function... This is an improvement, but it makes Qt code look like Javascript in 2015.

In C++20 there are async/await mechanisms. Ideally ask that then() code word be replacing by 'await'. Are there any plans to provide C++20 async/await interoperability with QFuture?


More information about the Development mailing list