Increase Qt optimisation level to O3.