AA 1672 then QR 8165 at O'Hare
Harrisburg → Chicago → Doha
Timetable, Chicago time
13:29AA 1672 from Harrisburg at the gate
13:15QR 8165 to Doha leaves the gate
23 h 46 apart on the timetable, overnight
QR 8165 leaves 23 h 46 after AA 1672 arrives on the timetable: more than half a day, so not a connection we count.