If your family was here in RP and your baby born outside qatar, you can bring the baby within 90 days without visa, visa will get on arrival.

If your baby is born in Qatar you have to process the residence permit within 60 days. hamad hr will advise you easy procedures.

have a good luck!!