TK 5085 then QR 240 at Istanbul
Jeddah → Istanbul → Doha
Timetable, Istanbul time
14:45TK 5085 from Jeddah at the gate
13:50QR 240 to Doha leaves the gate
23 h 05 apart on the timetable, overnight
QR 240 leaves 23 h 05 after TK 5085 arrives on the timetable: more than half a day, so not a connection we count.