title: How to use QMake's subdirs template?
body: <p>I'm starting to learn Qt. I'm moving from the Visual Studio world and I am looking for a way to organize my project's structure using QMake. I've found the 'subdirs' template but I have quite a hard time understanding it.  </p>
  
  <p>My project structure looks like this:  </p>
  
  <pre><code>project_dir/
      main.cpp
      project.pro
      logic/
        logic.pro
        some logic files
      gui/
        gui.pro
        gui files
  </code></pre>
  
  <p>My <em>project.pro</em> looks like this</p>
  
  <pre><code>TEMPLATE = subdirs
  SUBDIRS = logic \
            gui
  SOURCES += main.cpp
  </code></pre>
  
  <p>In the <em>.pro</em> files for the subdirectories I have appropriate <em>SOURCES</em>, <em>HEADERS</em> and <em>RESOURCES</em> variables set.</p>
  
  <p>Please tell me what <em>TARGET</em>, <em>TEMPLATE</em> and other necessary values I should set in the <em>.pro</em> files.</p>
  
  <p>Also, is there some good QMake tutorial other than the official one?</p>