Changes for mac after qt changes