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