title: Qt - 'thread' file not found
body: <p>I'm trying to build a C++ program with threads in Qt, but it gives me an error: 'thread' file not found. In Xcode I can run a program with threads!. How can I solve this issue ?</p>
  
  <pre><code>#include "widget.h"
  #include &lt;QApplication&gt;
  #include &lt;thread&gt;
  
  int main(int argc, char *argv[]) {
      QApplication a(argc, argv);
      Widget w;
      w.show();
  
  return a.exec();
  }
  </code></pre>