It was using the cpp from the main example but the header from minimal-mdi. Instead, share both the impl and the header
Don't want the main example to be too complex