How to compile and run Qt from command line
qmake layouts.pro C:\Qt\2009.04\qt\doc\src\snippets\layouts\debug>C:\Qt\2009.04\mingw\bin\mingw32-make go to debug folder and run the exe file