QR 239 then TK 5052 at Istanbul
Doha → Istanbul → Jeddah
Timetable, Istanbul time
12:20QR 239 from Doha at the gate
10:00TK 5052 to Jeddah leaves the gate
21 h 40 apart on the timetable, overnight
TK 5052 leaves 21 h 40 after QR 239 arrives on the timetable: more than half a day, so not a connection we count.