You can apply for a visa a maximum of 90 days before you travel, and a minimum of four working days before you travel.
Qatar Tourism Authority / Qatar Airways / VFS Global recommend you apply for your visa well in advance of travel.
Check the requirements and apply now for your Qatar visa through this link www.qatarvisaservice.com