I think Travelling to your own country doesn't need 6 months validity. It matters when u apply for a visa to enter another country, or may be while returning to Qatar.