QS 1058 then QR 3573 at Barcelona
Prague → Barcelona → Cagliari
Timetable, Barcelona time
14:10QS 1058 from Prague at the gatealso EW 3042
11:05QR 3573 to Cagliari leaves the gate
20 h 55 apart on the timetable, overnight
QR 3573 leaves 20 h 55 after QS 1058 arrives on the timetable: more than half a day, so not a connection we count.