If she gets a Work Visa and can sponsor your child under that Visa then she can change into that visa without EXITING Qatar.

Better try to get a Work Visa for you without much complication.

Good Luck