Qatar has some "anti-sodomy" laws on the books, but the Wikipedia page on the topic gives the impression they were seldom enforced in the past couple of decades:
In 1998 an American citizen visiting Qatar was sentenced to six months in prison and 90 lashes for homosexual activity. In the 1990s, Philippine Overseas Employment Administration informed Philippine workers that gay workers were prohibited in Qatar. This was in response to several mass arrests and deportations of Philippine workers in Qatar, for homosexuality.
In 2016 Saudi Instagram star King Luxy was arrested in Qatar for allegedly being homosexual. He spent 2 months in custody before he was released.
Also according to Wikipedia:
Since 2004, Article 296 of the current [Qatar] Penal Code (Law 11/2004) stipulates imprisonment between 1 and 3 years for sodomy between men. This is a slight revision of the original law that stipulated up to five years' imprisonment for male homosexuality.
Of course there may be a lot of missing data in there between the 1990s and 2016, but is that he case? There are probably human rights reports that have a fuller picture on the degree of enforcement of anti-LGBT laws in Qatar...