Qt: thread is destroyed while running

Call the QThread::wait() method to wait for the thread. If no timeout value is set, the thread must return from the run() method
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/TheKoi/article/details/124482165