I can confirm: regardless of layover duration, QR will systematically check your luggage through to final destination, even if > 24 hours (they have a long transit tag to identify these luggages).
I noticed this policy is really enforced strongly lately.... You will really struggle & most likely be unsuccessful if you have a single booking/one PNR and to have you bag tagged to DOH when your journey continues beyond.