Question: how to run qmake from command line?
Answer: -o file. qmake output will be directed to file. ... 
-unix. qmake will run in unix mode. ... 
-macx. qmake will run in Mac OS X mode. ... 
-win32. qmake will run in win32 mode. ... 
-d. qmake will output (hopefully) useful debugging information.
-t tmpl. ... 
-tp prefix. ... 
-help.