title: QT Creator: undefined reference to 'WinMain@16'
body: <p>I am building a Unit-Test using <a href="http://qt-project.org/doc/qt-4.8/qtestlib-tutorial1.html" rel="nofollow noreferrer">this tutorial</a>. However, when compiling my code I get these two errors:</p>
  <blockquote>
  <p>undefined reference to 'WinMain@16'.</p>
  <p>collect2: ld returned 1 exit status.</p>
  </blockquote>
  <p>why is this happening?</p>