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