If you are asking if they will interrogate your friend on arrival about his sexual orientation the answer is obviously no.

That being said, if he were caught doing anything that could be considered immoral while in Doha the punishment would be severe. If he can live here and not have any relationships he would be fine, otherwise I would suggest he lives in a country that wouldn’t lock him up or stone him for his lifestyle.