Mater - changes to build w Qt