QF 1989 then JQ 27 at Sydney
Townsville → Sydney → Phuket
Timetable, Sydney time
18:00QF 1989 from Townsville at the gate
15:00JQ 27 to Phuket leaves the gate
21 h apart on the timetable, overnight
JQ 27 leaves 21 h after QF 1989 arrives on the timetable: more than half a day, so not a connection we count.