Preheat oven to 350° Fahrenheit. Grease a square baking dish and set aside.
Combine flour, sugar, and butter in a food processor. Add a pinch of salt. Process in a food processor until well combined and crumbly. Transfer dough into pre-greased baking dish and mold into the bottom of the dish. Bake for 20-25 minutes until the center is golden-brown. Remove from the oven and set aside.
Use a large mixing bowl and beat eggs, sugar, and vanilla extract with an electric mixer on medium-high until creamy. Add flour, baking powder, and salt to the creamy eggs and combine well. Stir in apricots and walnuts.
Pour the batter over the baked baselayer. Bake for 30-35 minutes at 350° Fahrenheit. Allow to cool completely and dust with confectioner's sugar. Cut into squares bars and enjoy.
Optional Step: If the apricots are very dry cook them for 2 minutes in boiling water to rehydrate a bit. Drain and pat dry with a paper towel. Chop coarsely and proceed with the recipe.