You get a Qatar Airways visa froms from various typing centres.All you have to do is fill it up,attach your & your wifes passport copy together with it and submit it.You have to submit it at the airport immigration.First the officer will approve it and then you have to take it to the counter and submit it.Qrs:100.00 will be charged for the first 14 days.You will be able to extend it for another 14 days again afterwards.I think it is Qrs:50.00 or Qrs:100.00 thats it.They dont except cash over there.So be sure to have a credit card or an e-card.e-card can be purchased from there itself if you dont have one.They will give you a receipt which tells you to check after 3 days.But normally the visa gets approved and ready to print in couple of hours on the same day.You may print the visa online. http://www.moi.gov.qa/site/english/index.html
Visa Application Tracking.Just type the visa number there and when approved you may take the print.Dont forget to select the Visa Type as: Visit.This is considered to be a tourist visit visa.Good Luck to you dear.