Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

Ewan McGregor’s 15-year-old daughter has slammed the Hollywood star in a song she wrote and posted online.

Esther McGregor pours out her heart while singing “Seeing those pictures, they’re making me cry” — thought to be a reference to her dad’s kiss with new love Mary Elizabeth Winstead.

The tune, titled “Made You A Man,” comes after the “Star Wars” and “Trainspotting” actor walked out on her mom, Eve Mavrakis, 51.

In the Instagram clip, Esther strums her guitar and sings about “s–t she found online.”

She tellingly says: “I don’t know to forgive. I don’t know if I can. Ruining me.”

Esther adds: “Happy birthday to me, am I right?” — thought to be a reference to the Sun first publishing pictures of her dad’s kiss on Oct. 22 — her birthday.

Ewan, 46, split from Mavrakis, his wife of 22 years, in May, before we revealed how he was dating 33-year-old Winstead, his co-star from the hit TV show “Fargo.”

The Sun told how Mavrakis, who has four daughters with the actor, was left “heartbroken, sick and furious” by the breakup.

Ewan’s family said his fling was a midlife crisis.

He has been spotted regularly with Winstead, sitting beside her at the Critics’ Choice Awards in Santa Monica, California, last week.