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

Make C++ returned QFuture usable with QML

    XMLWordPrintable

Details

    • All

    Description

      We already have multiple parts where we can listen to c++ returned future

      https://doc.qt.io/QtIVI/qml-qtivi-pendingreply.html

      https://doc.qt.io/qt-5/qml-qtremoteobjects-qtremoteobjects.html#watch-method

      even https://github.com/benlau/quickfuture

      and many new additions in 6.2 and 6.3 but no way to use them in QML in a general way. I catch myself needing this sort of feature more and more. I do not want to create a new signal in c++ for everything, when a simple QFuture would solve all my problems...

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            kelteseth Elias Steurer
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes