Hello, There was a discussion about the "internal" class QFutureInterface a few months ago on this list [1] 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. Thanks Christian [1] http://lists.qt-project.org/pipermail/development/2015-July/022586.html _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
