AA 3258 then QR 8187 at O'Hare
San Diego → Chicago → Houston
Timetable, Chicago time
17:58AA 3258 from San Diego at the gate
16:40QR 8187 to Houston leaves the gate
22 h 42 apart on the timetable, overnight
QR 8187 leaves 22 h 42 after AA 3258 arrives on the timetable: more than half a day, so not a connection we count.