Work the flour, butter, sugar, eggs, nuts and baking powder into a dough. Spread on a greased baking sheet. Brush with the compote. Then spread the granola on top. Bake everything at 180 degrees top / bottom heat for about 25 minutes.
After cooling, bring the remaining ingredients to the boil briefly and brush the cake with them.