QR 3728 then VY 6012 at Barcelona
Lyon → Barcelona → Rome
Timetable, Barcelona time
20:00QR 3728 from Lyon at the gate
14:45VY 6012 to Rome leaves the gate
18 h 45 apart on the timetable, overnight
VY 6012 leaves 18 h 45 after QR 3728 arrives on the timetable: more than half a day, so not a connection we count.