FR 3036 then QR 3504 at Barcelona
Krakow → Barcelona → Ibiza
Timetable, Barcelona time
20:35FR 3036 from Krakow at the gate
16:35QR 3504 to Ibiza leaves the gate
20 h apart on the timetable, overnight
QR 3504 leaves 20 h after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.