If you are solely in transit through Doha you do not need a visa. If you wish to enter Qatar then you will need a visa, certain nationalities can get this on arrival. The Oryx lounge can be pre booked or pay on arrival. It is worth the additional fee as the airport is very small and not much to do.