title: QT Jambi: Update UI from other thread
body: <p>I am currently working on a Java project using Qt Jambi for the UI. I am doing some calculations in a thread different from the UI thread and I would like to update the UI to indicate the progress. </p>
  
  <p>It is clear that UI updates can only be done on the UI thread and since the computation thread is not the UI thread, I cannot perform updates on the UI from there (trying that consequently results in the <code>QObject used from outside its own thread</code> error). </p>
  
  <p>So, how can I call my <code>updateUI()</code> method on the UI thread? </p>