QFuture is a class from the Qt Toolkit which represents the result of an asynchronous computation.
Questions tagged [qfuture]
34 questions
0
votes
1 answer
Submitting concurrent task via QFuture from GUI thread
In order to avoid computations in GUI thread on button click I'm trying to run it in separate thread.
As soon as I want to have ability to monitor progress my code is based on this source.
So, my code…

im_infamous
- 972
- 1
- 17
- 29
0
votes
1 answer
Set list of QFutures to QFutureWatcher
Is it possible to add multiple QFuture's to QFutureWatcher?
I wanted to add multiple features to QFutureWatcher and get notified when all the threads finished.
QFutureSynchronizer did not help me as it dont have a signal to finished

NDestiny
- 1,133
- 1
- 12
- 28
-1
votes
1 answer
How can I use QtConcurrent::Run and QThread?
My code is about images. It can be open image, changing quality, resize, showing image size... For resize and change quaity, I use slider and when I change sliders values, image is read from buffer again and again. Because of this, freezing is…

doctor joe
- 55
- 1
- 1
- 6
-2
votes
2 answers
how to run a membber function with QtConcurrrent Qt6? type 'decay_t cannot be used prior to '::' because it has no members)
i'm trying to run a member function but but i got an error , help me please
i tried with this line of code
QFuture future = QtConcurrent::run(this,&backD::analysa);
and analysa() is a methode that returns a qlonglong

Aquiles
- 13
- 3