BA and QR both use the same back end booking management system (Amadaeus), but I believe when booking QR flights with BA codes/via BA.com there is also a QR reference generated. That was the case when I booked via BA.com for QR operated flights although it was a few years ago.