Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use QThread for spawning threads?
Ronak5 last edited by Ronak5
I've read the Qt Qthread doc, but it still isn't clear how to use Qthread for my qt app.
What I need is to create a GUI thread which would be always running and one more thread for usb events update which would run in background and on any interrupt would send some data to my GUI thread. Please help.
What do you don't understand here: https://doc.qt.io/qt-5/qthread.html#details and for sending data from the thread to the main thread here: https://doc.qt.io/qt-5/qtcore-threads-mandelbrot-example.html