try to consider using slots and signals to communıcate between classA_thread and classB Wıth classb handlıng the UI update ın its slot connected to the approprıate sıgnal