Why not a "rebuild" command automatically re-run qmake?