I think your spouse can go to the immigration office and pay some money and extend the visa even if you are not in the country.
Check here if he can do it online:https://www.moi.gov.qa/site/eServices/services/indexE.html