It depends on the policy of the first airline.
CX has a policy to check-through on other interline partners.
QR had the same but it removed it. It is now left at the discretion of the check-in agent/supervisor. From FT posts, it seems that most do it but not guaranteed.