Ryan Jack got the visitors off the mark just before half time and from there the Premiership outfit never looked back.
Midfielder Niall McGinn doubled their advantage midway through the second half, before Robert Thomson pulled one back for the hosts.
Any faint hopes of a fightback were dashed in the closing stages as goals from Lawrence Shankland and Declan McManus added some gloss to the scoreline.
Source: PA Sport