qmake won't "run" anything for you. I'm using a simple script to do that.
bash Code:
  1. #!/bin/sh
  2.  
  3. for i in 1 2 3 model
  4. do
  5. cd test$i
  6. ./test$i
  7. cd ..
  8. done
To copy to clipboard, switch view to plain text mode 

test1, test2, test3 and testmodel are my tests.

You need to include "main.moc" only if there is a Q_OBJECT macro in the main.cpp file.