AA 40 then QR 4702 at Barcelona
Chicago → Barcelona → Ibiza
Timetable, Barcelona time
09:35AA 40 from Chicago at the gate
22:00QR 4702 to Ibiza leaves the gate
12 h 25 apart on the timetable
QR 4702 leaves 12 h 25 after AA 40 arrives on the timetable: more than half a day, so not a connection we count.