Transparently handle QFuture<T> method return types


When a client invokes a method returning a QFuture<T>, QWebChannel will
now automatically attach a continuation and send the contained result
after the QFuture<T> has finished.

[ChangeLog] Transparently handle QFuture<T> method return types

Task-number: QTBUG-92903
Change-Id: I4069d51e79447dee249bb8af52a16e4496484093
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Arno Rehn <a.rehn@menlosystems.com>
commitd711fc874dacb2eeeed085dafc2a07d870cae8ba
parentc45b1c4f73ec70ce990574b66eff47cb94a80ea6
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeMon, 27 Sep 2021 15:58:16 +0200