If the present employer is not issuing a NOC then your friend will have to stay wehere he/she is.

Without NOC (even locally hired people) there is no chance for sponsor change.

If your friend resigns without having a NOC then he/she has to leave the country and will be banned for 2 years to re-entry Qatar.

Regards!!