The only countries that it is LEGAL and recognized to have same sex marriage is
Netherlands, Belgium, Spain, Canada, South Africa, UK, Some states in the US, Aruba, and there are other countries in Asia that are discussing allowing it.

Qatar is a Muslim country and homosexuality is illegal. At the end of the day though, for me, if it doesn't affect me, i don't really care.

If you want to be openly gay in Qatar, I would think your life would be very difficult (if not impossible).
If you are going ot be gay in private, I think you should be fine :)

You will only have to fear prison or legal action if you are open about it.

I'm sure one day Qatar will change, but Qatar is still developing and needs time to be more open. It's the same in Dubai too.

You would also have to hide the fact that you are married. Either act as relatives, or simply as friends :)

But be sure that you'll be able to hide it.
I'm very sorry you have to do that, but I really do welcome you to Qatar ^_^y
__________________________
I Love Qatar - http://www.iloveqatar.net