Beat together flour, salt, half-and-half and eggs in a medium bowl.
Place Swiss cheese flat in the pie crust. Arrange spinach evenly over Swiss cheese, then cover with mushrooms. Pour the flour and egg mixture over mushrooms. Cover with flaked ham and top with Cheddar cheese.
Bake in the preheated oven 45 to 55 minutes, until surface is golden brown.