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