Qatar labor law will always supercede what's written in your contract. An NOC is always anyone's guess. More often than not it isn't given.