QR 3717 then QR 3574 at Barcelona
Rome → Barcelona → Lyon
Timetable, Barcelona time
19:05QR 3717 from Rome at the gatealso IB 5343, LL 5343, VY 6013
16:30QR 3574 to Lyon leaves the gatealso IB 5468, LL 5468, VY 8128
21 h 25 apart on the timetable, overnight
QR 3574 leaves 21 h 25 after QR 3717 arrives on the timetable: more than half a day, so not a connection we count.