title: Qt : qt cannot send events to objects owned by a different thread - Why
body: <p>I am developing an application with Qt whereby I want to update my GUI from another unrelated class with functions executing in a different thread. </p>
  
  <p>I registered a callback function from the Qt GUI class to the other class using standard C++ constructs std::function and std::bind. </p>
  
  <p>On trying to execute the GUI callback function from the other class, my program crashes with "<strong>qt cannot send events to objects owned by a different thread</strong>".</p>
  
  <p>My questions are, what is happening here exactly. Why is it not permissive to communicate between two threads like this. Is it possible to resolve this in some way , or does Qt just not allow other unrelated functions to update the GUI in this way ? </p>
  
  <p>For information , I am using portaudio libraries on windows. It executes a callback in a different thread. When I receive audio, I try to update my GUI.</p>
  
  <p>Thank you in advance </p>