Make sure your changes are saved before you build. Then make sure the changes are saved to the file you expect them to be saved to. Then make sure qmake is run (just to make sure the Makefiles are up to date) then build. If that fails, try a full rebuild.