I need your help.
There is a class in C++, in which is implemented relatively difficult algorithms. And I also added to it a graphical interface for QML. I registered the class:
qmlRegisterType<Solver>("xyz.lstu", 1, 0, "Solver");
I launch it as:
onClicked: {
solver.start()
}
When I run the methods of the class, the GUI stops responding and starts responding only after the function is completed. The class object regularly sends it signals about progress and I want to immediately bring them to the GUI. How to run these methods on a separate thread? In Java, I solved such things like this
SwingUtilities.invokeLater(..)