Question: can icing be used as glue?
Answer: Royal icing is the edible "glue" or mortar that holds a gingerbread house together and can be used to make fancy sugar decorations. It's the best option for projects like gingerbread houses since, unlike buttercream frosting, royal icing will harden once dry.