I bet there is a way of changing the icon via python, so can you just put a placeholder in the xml and change it with python?