FR 3036 then QR 3581 at Barcelona
Krakow → Barcelona → Ibiza
Timetable, Barcelona time
23:40FR 3036 from Krakow at the gate
18:20QR 3581 to Ibiza leaves the gatealso IB 5258, LL 5258
18 h 40 apart on the timetable, overnight
QR 3581 leaves 18 h 40 after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.