QR 145 then LA 5745 at Barcelona
Doha → Barcelona → Porto
Timetable, Barcelona time
13:25QR 145 from Doha at the gatealso LA 6070, IB 6203
12:20LA 5745 to Porto leaves the gate
22 h 55 apart on the timetable, overnight
LA 5745 leaves 22 h 55 after QR 145 arrives on the timetable: more than half a day, so not a connection we count.