White spaces in path not addressed by qmake while generating Makefile
The Makefile generated by qmake does not handle paths with white spaces while generating moc files.
eg) Makefile would contain
/Developer/Tools/Qt/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ ../My Folder/foo.h -o moc_foo.cpp
This results in too many input files error.
Maybe "this":http://doc.trolltech.com/latest/qmake-project-files.html#whitespace would help you..
Tried that but it did not help have the same issue still.