QR 3692 then EC 7694 at Barcelona
Rome → Barcelona → Lisbon
Timetable, Barcelona time
17:05QR 3692 from Rome at the gate
15:30EC 7694 to Lisbon leaves the gate
22 h 25 apart on the timetable, overnight
EC 7694 leaves 22 h 25 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.