Once you will arrive in Qatar, your Resident permit will be applied by your company, it usually takes 3 weeks depending upon your employer and your followup skills. After that you can invite your wife on vist visa which can be of 1 month, this can be obtained easily for QR 100. Once your wife is in Qatar you can start the process of obtaining her Resident Permit. For which first you have to convert your wife visit visa into a three month visa and than you have to go to medical commision for your wife medical check up and finally to CIA, this entire process will take 2-3 weeks but you have to very keen in followup.

Take care and welcome to Qatar