Hearts have made Queen of the South forward Gavin Reilly their second summer signing following the arrival of Polish defender Blazej Augustyn.
The 22-year-old has agreed a three-year deal at Tynecastle as boss Robbie Neilson prepares for the forthcoming Ladbrokes Premiership campaign.
He told the club website: "I’m delighted to get Gavin on board. He scored 15 goals last season in the Championship and I’ve no doubts that he can develop into an excellent player.
“He’s a hard worker, a good finisher and he makes runs over the top which will allow us to press really high up the pitch as well. He’s desperate to come here and he’s desperate to do well."