christianbauer at siemens.com
Thu Nov 26 11:50:10 CET 2015
There was a discussion about the "internal" class QFutureInterface a few months ago on this list  about making QFuture/QFutureInterface more like std::future/std::promise in C++11.
It seems this is not going to happen before Qt 6.
We have a use case for a promise though and the current QFutureInterface is not sufficient. A custom wrapper for the QFutureInterface solves this problem for now, but requires a patch of Qt.
I am wondering if you are willing to incorporate this patch into the official Qt release. It's about adding a getter to QFutureInterfaceBase for the d pointer QWaitCondition. Such a getter already exists inside the QFutureInterfaceBase for the d pointer QMutex.
More information about the Development