Your Qatar visa should be valid minimum three month and in some case six months. Also your designation should be a manager category or professional jobs like engineer, Dr etc.
Better check with Qatar Air or Emirates. Fly Dubai also arrange UAE visa, you cna apply visa from Doha, but the passport and RP need to be valid.