FR 835 then QR 3540 at Barcelona
Vilnius → Barcelona → Nantes
Timetable, Barcelona time
15:30FR 835 from Vilnius at the gate
10:15QR 3540 to Nantes leaves the gate
18 h 45 apart on the timetable, overnight
QR 3540 leaves 18 h 45 after FR 835 arrives on the timetable: more than half a day, so not a connection we count.