IB 5343 then QR 3573 at Barcelona
Rome → Barcelona → Cagliari
Timetable, Barcelona time
19:05IB 5343 from Rome at the gatealso LL 5343
11:05QR 3573 to Cagliari leaves the gatealso IB 5798, LL 5798, VY 6114
16 h apart on the timetable, overnight
QR 3573 leaves 16 h after IB 5343 arrives on the timetable: more than half a day, so not a connection we count.