Fix qt on Leopard