Try "qmake" (without the .pro file name). And make sure there are no "alien" files (like Makefile and object files) in the directory. Just .pro file and headers/sources of the project.