you just go to airport immigration with the copy of your wife's passport and the page with exit stamp from Doha..fill one form there and pay QR 500/-..but this applies if her RP is valid.

Then she can enter Doha with in one year from the date of exit from Doha.