If you are any Gulf residence you may get a visa on arrival. Check with the Qatar Embassy in Riyadh or Consulates in Jeddah or any major city other than capital.

If you are not a resident than you may get a tourist visa via Qatar Airways, but for this you have to book a hotel with them and of coarse get a round trip service.

Simplest procedure will be (if you're not a Saudi resident) for your family member living in Qatar to get you a visitor visa if they're the resident of Qatar. I hope this answers your question.