I had this problem at compiling a project previously created with KDevelop under Linux. This is how I solved it:
- check your system time
- kill all qmake and mingw32-g++ processes
- wait for mingw32-make processes to die
- remove all Makefile Makefile.*
- do „cleanup project“
- do „regenerate project“