AA 4272 then QR 8167 at O'Hare
Allentown → Chicago → Doha
Timetable, Chicago time
07:15AA 4272 from Allentown at the gate
04:40QR 8167 to Doha leaves the gate
21 h 25 apart on the timetable, overnight
QR 8167 leaves 21 h 25 after AA 4272 arrives on the timetable: more than half a day, so not a connection we count.