Dear Sanjit,

1. You can't apply for your family (wife/kids) visit visa until you got your RP stamp on your passport.

2. After your RP stamp on your passport, you can apply for your family visit visa, initially 1 month after it you can extend it up to 5 more months.

3. In the mean time when your family will be in Qatar on visit visa you can apply and then after approval convert their visit visas in to RP (QAR 500/- fees will charge per visa conversion).