if she is qualified to sponsor you here in qatar, good for you..most of family visa wife or husband visa is able to work here in qatar and no problem so far..as long as the company will allow you to work while you are a family visa, or if incase the company wants you to convert the visa into work visa, it can be..so that you are working legally and stay to qatar...
good luck!