uhhhm dude, i think a residence permit is different from the topic above. You are entitled to have residence permit once you already have work visa and already entered qatar.