特牛生活网

qt movetothread安全退出_qt movetothread 退出线程-CSDN博客

网友收藏
文章浏览阅读2k次。movetothreadthread=new qthreadthis. move to thread(thread)timer. movetothread(thread)如果不写这句,那么timer的信号发送是不会被阻塞的,导致信号累积,thread不会退出。其实就是用的时候要注意一下thread. start()thread. quit()thread. wait()delete thread..._qt movetothread 退出线程