AA 4993 then QR 8167 at O'Hare
Milwaukee → Chicago → Doha
Timetable, Chicago time
06:24AA 4993 from Milwaukee at the gate
04:40QR 8167 to Doha leaves the gate
22 h 16 apart on the timetable, overnight
QR 8167 leaves 22 h 16 after AA 4993 arrives on the timetable: more than half a day, so not a connection we count.