As per the information from this link: https://www.thepeninsulaqatar.com/article/08/06/2020/Qatar-to-ease-COVID...

From June 15, 2020, trips outside Qatar in cases of extreme necessity and everyone who returns to Doha will be subjected to hotel quarantine on their personal expense for a full two weeks.

From August 2020, low-risk inbound flights for priority passengers like returning residents.