jeudi 12 mars 2015

Qt deleteLater cross threads


Is it ok to do the following?


worker->moveToThread(workerthread); ... worker->deleteLater();//this is called from main thread.


Will the worker be properly deleted? I cannot find any Qt documentation said anything about this.




Aucun commentaire:

Enregistrer un commentaire