FR 334 then QR 3544 at Barcelona
Gdansk → Barcelona → Ibiza
Timetable, Barcelona time
11:05FR 334 from Gdansk at the gate
07:45QR 3544 to Ibiza leaves the gate
20 h 40 apart on the timetable, overnight
QR 3544 leaves 20 h 40 after FR 334 arrives on the timetable: more than half a day, so not a connection we count.