QR 3774 then FR 4585 at Barcelona
Torino → Barcelona → Porto
Timetable, Barcelona time
16:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
09:35FR 4585 to Porto leaves the gate
17 h 10 apart on the timetable, overnight
FR 4585 leaves 17 h 10 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.