title: Qt Creator how to run SUBDIRS projects
body: <p>I've been using Qt Creator for a while now and my project is getting large enough that I'd like to move to using <a href="https://wiki.qt.io/SUBDIRS_-_handling_dependencies" rel="nofollow noreferrer">Qt's SUBDIRS</a> template type to better organize my growing project.</p>
  
  <p>The structure of my project is similar to the following</p>
  
  <pre><code>/master
   |--- master.pro
   `--- project1
   |    |--- project1.pro
   |    `--- ... (source files specific to project1)
   `--- project2
   |    |--- project2.pro
   |    `--- ... (source files specific to project2)
   `--- shared
        `--- ... (source files shared between project1 and project2)
  </code></pre>
  
  <p>Both project1 and project2 are separate independent projects, but that have some source/header files that they share for convenience and maintainability in the shared folder.</p>
  
  <p>The bulk of my development time generally is spent working on the shared files and project1. So as I make changes to shared files both project1 and project2 must, in the end, be updated to work with these shared file.</p>
  
  <p>My problem is, say I've just made changes to shared files AND project1 but have not yet updated project2. How do I, from QtCreator run project1 so I can test my changes? Obviously at the end of the day/week/month I'd fix project2 to work with these changes, but how would I run project1 in the mean time?</p>
  
  <p><a href="https://i.stack.imgur.com/VOVCl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VOVCl.png" alt="enter image description here"></a></p>
  
  <p>If I right-click on project1, it shows the "run" option. However, for this to work here, the entire "master.pro" has to be able to compile without errors.</p>
  
  <p>I know as a workaround, I could just load project1.pro by itself, but I'd like to load master.pro and run it from the subproject.</p>
  
  <p>Any help on this would be greatly appreciated.</p>