Hi
if your profession is one the listed profession in this link then you can take visa on arrival otherwise you have to get visa in advance prior to your travel
http://www.moi.gov.qa/site/english/departments/PassportDept/resources/20...
to confirm check with your airline before booking