QR 3692 then OS 406 at Barcelona
Lyon → Barcelona → Vienna
Timetable, Barcelona time
22:45QR 3692 from Lyon at the gate
20:30OS 406 to Vienna leaves the gate
21 h 45 apart on the timetable, overnight
OS 406 leaves 21 h 45 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.