> It seems your knowledge of Qt is not very good. I think you need to do some googling on how to use QThread properly :) ohh. I got you point. probably you better knows how to help yourself. good luck
On Tue, Nov 26, 2019 at 8:52 AM Alexander Dyagilev <alervd...@gmail.com> wrote: > > On 11/26/2019 10:29 AM, Vlad Stelmahovsky wrote: > > 1. quit guarantees only quit from event loop. > > yes, i know it. > > > wait() will wait maximum INT_MAX milliseconds and then return false > > > yes, and this guarantees that QThread object will not be destroyed until > thread is finished. > > i.e. > > thread->quit(); thread->wait(); delete thread; > > thread not finished --> wait never returns --> QThread destructor never > called. > > > 2. So you did not created any threads? it was not clear from your > > initial message > > I do. It seems your knowledge of Qt is not very good. I think you need > to do some googling on how to use QThread properly :) > > > -- Best regards, Vlad
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest