Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50676

Add `QFutureWatcher::setFuture(const std::future<T>&)`

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Core: QtConcurrent
    • None
    • Windows 7 64 bit, compiling in VS2013

      When working with non-Qt concurrent operations, std::futures are often returned. There is no direct way to watch these futures and call a `SLOT` when they complete.

      It would be nice to be able to watch a `std::future` or create a `QFuture` from a `std::future` (`static QFuture QFuture::fromStdFuture(std::future&& future)` or similar).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sonakur Sona Kurazyan
            jtooker@efji.com John Tooker
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes