Put the flour, margarine, sugar, egg, baking powder and salt in a bowl and make a shortcrust pastry. Put the dough in a greased baking pan.
For the quark topping, mix the quark, milk, egg, sugar, pudding powder and oil together and pour onto the dough.
Separate the eggs for the pancake. Mix the margarine and egg yolks together. Beat egg whites until stiff.
Mix the pudding powder with the sugar. Bring the milk to the boil and remove the pan from the stove. Stir in the pudding powder and bring to the boil again, stirring constantly. Add the pudding to the margarine and egg mixture, stir and then carefully fold in the egg whites. Put the finished mixture on the curd.
Bake in a preheated oven at 175 ° C for about 1 to 1 1/4 hours.