There is no legal action against atheists, nor would Qataris be offended by you being one, however:
1- In some paper forms, you need to fill in your religion and atheism isnt considered a religion here.
2- Exposing yourself as atheist to Muslims, might encourage some of them to target you for religious discussions (for the sake of converting you to Islam).