Answer the question
In order to leave comments, you need to log in
How to move a function to a QThread thread?
Hello, in the mainw class there is a function outputExcelReport(), how can it be moved to another thread on a call?
Is it necessary to create a new class for it?
Answer the question
In order to leave comments, you need to log in
In the case of Qt, one can simply use QtConcurrent::run: doc.qt.io/qt-5/qtconcurrentrun.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question