Remember, that You should have a .pro file in directory. qmake work only after create it.

The best way to do this (especially for beginner) is create a project in any IDE. I recommend QTCreator...