title: Qt unit testing setup
body: <p>I've been using Qt for some time ... And I've decided to start using using unit test too (or at least try). But I don't know where to start ... I've read this:
  <a href="http://doc.qt.io/qt-5/qttest-index.html" rel="nofollow">http://doc.qt.io/qt-5/qttest-index.html</a>
  and understand how to use QtTest class. But anything else I don't understand ... Should tests be in the same project as my actual project ? Or maybe in separate project ? Or maybe in many separated project ? If so, what's the criteria of separating them ?</p>
  
  <p>And when I write some unit tests, how do I use them ? I mean, I will compile them, but then what ? I just ran executable file ? Do I need to compile my project separately or somehow include it in QtTest ? Can I automate the process, so all my unit test will be run automatically ?</p>
  
  <p>Wow ... That's a lot of questions :) Can you give me link to some tutorial where these (I guess basic) things are covered?</p>