If your stopover does not exceed 24 hours, then you have the option to request for the baggage at Doha or at your final destination. Kindly inform the airport check-in staff of your preference.
If your stopover is more than 24 hours the baggage must be collected upon arrival at Doha.
Please contact your local Qatar Airways office for further inquiries. Contact details can be found in the following link https://www.qatarairways.com/en/worldwide-offices.html