You shouldn't run qmake on a .cpp file. It doesn't know what to do with them. Isn't there a .pro file in that directory?

Also, please, don't post the same question more than once.