QR 3774 then VY 3504 at Barcelona
Torino → Barcelona → Ibiza
Timetable, Barcelona time
16:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
13:55VY 3504 to Ibiza leaves the gatealso IB 5248, LL 5248, QR 5539
21 h 30 apart on the timetable, overnight
VY 3504 leaves 21 h 30 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.