FR 4596 then QR 3617 at Barcelona
Porto → Barcelona → Bologna
Timetable, Barcelona time
00:50FR 4596 from Porto at the gate
19:20QR 3617 to Bologna leaves the gate
18 h 30 apart on the timetable
QR 3617 leaves 18 h 30 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.