title: How can I run my Qt function after a thread has finished?
body: <pre><code>void MainWindow::on_pushButton_clicked()
  {
      QFuture&lt;int&gt; future = QtConcurrent::run(identify);  //Thread1
      if (future.isFinished())
      {
         //DoSomething();    
      }
  }
  </code></pre>
  
  <p>I have this code. I want to run the <code>DoSomething()</code> function after the identify function finished running. Is it possible?</p>