MSYS backslash problems
From qtnode
If you encounter errors similar to: /bin/sh.exe: C:Qt4.0.1binmoc.exe: command not found
This is likely because you have sh.exe from MSYS in your path. It does not like backslashes the way Windows uses them. Try running cmd.exe and excluding MSYS from your path and you should not encounter this problem.
http://lists.trolltech.com/qt-interest/2006-01/thread00091-0.html
http://www.qtforum.org/thread.php?threadid=16229
http://lists.trolltech.com/qt-interest/2005-12/msg00778.html