W4 6017 then QR 4706 at Barcelona
Rome → Barcelona → Porto
Timetable, Barcelona time
07:35W4 6017 from Rome at the gate
20:25QR 4706 to Porto leaves the gatealso IB 5096, LL 5096
12 h 50 apart on the timetable
QR 4706 leaves 12 h 50 after W4 6017 arrives on the timetable: more than half a day, so not a connection we count.