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