BA 873 then QR 108 at Heathrow
Krakow → London → Doha
Timetable, London time
18:05BA 873 from Krakow at the gate
16:00QR 108 to Doha leaves the gate
21 h 55 apart on the timetable, overnight
QR 108 leaves 21 h 55 after BA 873 arrives on the timetable: more than half a day, so not a connection we count.