FR 4586 then QR 146 at Barcelona
Porto → Barcelona → Doha
Timetable, Barcelona time
22:20FR 4586 from Porto at the gate
15:20QR 146 to Doha leaves the gate
17 h apart on the timetable, overnight
QR 146 leaves 17 h after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.